? diff ? test.c ? free_NULL1.diff Index: common/worklist.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/common/worklist.c,v retrieving revision 1.11 diff -u -r1.11 worklist.c --- common/worklist.c 2002/02/14 15:17:23 1.11 +++ common/worklist.c 2002/02/21 14:42:08 @@ -53,14 +53,6 @@ /**************************************************************** ... ****************************************************************/ -void destroy_worklist(struct worklist *pwl) -{ - free(pwl); -} - -/**************************************************************** -... -****************************************************************/ int worklist_length(const struct worklist *pwl) { int len = 0; Index: common/worklist.h =================================================================== RCS file: /home/freeciv/CVS/freeciv/common/worklist.h,v retrieving revision 1.5 diff -u -r1.5 worklist.h --- common/worklist.h 2002/02/14 15:17:23 1.5 +++ common/worklist.h 2002/02/21 14:42:08 @@ -37,7 +37,6 @@ struct worklist *create_worklist(void); void init_worklist(struct worklist *pwl); -void destroy_worklist(struct worklist *pwl); int worklist_length(const struct worklist *pwl); bool worklist_is_empty(const struct worklist *pwl);