X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fstruct.c;h=22a7df30cbfd3e507d97a581580b88e1f3d37e1e;hb=refs%2Ftags%2Fv0.5p2;hp=f6d4128fbfe91036d0c6d7fbacb6e9dd1000d142;hpb=c6c69d4a9a0f850296bf54a5770a672bafab56db;p=YACASL2.git diff --git a/src/struct.c b/src/struct.c index f6d4128..22a7df3 100644 --- a/src/struct.c +++ b/src/struct.c @@ -141,9 +141,9 @@ void free_cmdtable(CMDTAB_HASH hash) for(i = 0; i < CMDTABSIZE; i++) { for(p = cmdtab[hash][i]; p != NULL; p = q) { q = p->next; - cmdtab[hash][i] = NULL; FREE(p); } + cmdtab[hash][i] = NULL; } }