projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ハッシュのfreeの方法を修正
[YACASL2.git]
/
src
/
struct.c
diff --git
a/src/struct.c
b/src/struct.c
index
f6d4128
..
22a7df3
100644
(file)
--- 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;
}
}