aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-09-08 12:47:05 +0200
committerArnold D. Robbins <arnold@skeeve.com>2013-09-08 12:47:05 +0200
commit4661f6cb95c365c434b753cdf6d4c1251f321230 (patch)
treecf1225ec147958393063ad3bb6b3995abecf98a9 /symbol.c
parent187f81febdf5a52d1c646bd83a10c9f03d13947b (diff)
parentc3e4d0cf3f1fd24164e0a58db23b86b56c6dc7c8 (diff)
downloadegawk-4661f6cb95c365c434b753cdf6d4c1251f321230.tar.gz
egawk-4661f6cb95c365c434b753cdf6d4c1251f321230.tar.bz2
egawk-4661f6cb95c365c434b753cdf6d4c1251f321230.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/symbol.c b/symbol.c
index 2b5e2bbd..fe297d22 100644
--- a/symbol.c
+++ b/symbol.c
@@ -221,9 +221,10 @@ remove_symbol(NODE *r)
}
-/* destroy_symbol --- remove a symbol from symbol table
-* and free all associated memory.
-*/
+/*
+ * destroy_symbol --- remove a symbol from symbol table
+ * and free all associated memory.
+ */
void
destroy_symbol(NODE *r)
@@ -262,7 +263,7 @@ destroy_symbol(NODE *r)
default:
/* Node_param_list -- YYABORT */
- return;
+ break; /* use break so that storage is freed */
}
efree(r->vname);