diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-08-12 04:51:45 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-08-12 04:51:45 +0000 |
commit | b8f0ba06a566d69984c2ba064a5b137f521a332c (patch) | |
tree | 99d341ff6249d8e726d65b932811e417062bf67f | |
parent | f4a0c9326b70c047298e33419b225b90f1efd5b4 (diff) |
Back out last commit, p->name is not always a malloc'ed object.
Pointed out by itojun@.
-rw-r--r-- | usr.bin/yacc/symtab.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/yacc/symtab.c b/usr.bin/yacc/symtab.c index 0f33358f1fb..19f9a1700a5 100644 --- a/usr.bin/yacc/symtab.c +++ b/usr.bin/yacc/symtab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: symtab.c,v 1.10 2003/08/12 01:16:33 millert Exp $ */ +/* $OpenBSD: symtab.c,v 1.11 2003/08/12 04:51:44 millert Exp $ */ /* $NetBSD: symtab.c,v 1.4 1996/03/19 03:21:48 jtc Exp $ */ /* @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)symtab.c 5.3 (Berkeley) 6/1/90"; #else -static char rcsid[] = "$OpenBSD: symtab.c,v 1.10 2003/08/12 01:16:33 millert Exp $"; +static char rcsid[] = "$OpenBSD: symtab.c,v 1.11 2003/08/12 04:51:44 millert Exp $"; #endif #endif /* not lint */ @@ -155,7 +155,6 @@ free_symbols(void) for (p = first_symbol; p; p = q) { q = p->next; - FREE(p->name); FREE(p); } } |