From: Peep P. <so...@us...> - 2004-06-07 15:43:05
|
Update of /cvsroot/agd/server/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8481 Modified Files: list.c Log Message: Doesn't use type_xmalloc anymore Index: list.c =================================================================== RCS file: /cvsroot/agd/server/src/list.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- list.c 1 Apr 2004 19:10:53 -0000 1.6 +++ list.c 7 Jun 2004 15:42:56 -0000 1.7 @@ -25,7 +25,7 @@ p->data = data; } else { /* didn't find a reusable slot */ - p->next = type_xmalloc(list_t); + p->next = xmalloc(sizeof(list_t)); p = p->next; p->data = data; p->next = NULL; |