implementation of ygo_replay_fread - replaced previous use of calloc with malloc - properly handling errors with gotos
implementation of ygo_replay_fread
- replaced previous use of calloc with malloc
- properly handling errors with gotos

jonas-git/php_yugioh,jonas-vanen/php_yugioh,jonas-git/php_yugioh