Don't use Malloc(), Realloc() or Calloc() for memory allocation
commiteaffa29269ae0bac8290ca9dec37f76d4a042174
authorBen Kibbey <bjk@luxsci.net>
Sat, 8 Apr 2006 17:44:11 +0000 (8 13:44 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 8 Apr 2006 17:44:11 +0000 (8 13:44 -0400)
tree82223131b20efb6b01056f6c589bb328175eb033
parent35775b2aa4eaaf6c9291a6a51a019e59eac8ef06
Don't use Malloc(), Realloc() or Calloc() for memory allocation
checking. Instead use the regular functions and return E_PGN_ERR when
they fail. Same with strdup().

Comment cleanups.
libchess/chess.h
libchess/pgn.c