aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-09-22 16:57:11 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-09-22 16:57:11 +0300
commitda83b6857bf0a67b15fc75d31a0b6802ac9baffe (patch)
tree399e9f1ec800b5405f9b494060481a8420480caf /symbol.c
parente149eb882355f427d43928324145c971a0562c5e (diff)
parent8aa14c5f3cf78f90b589785a9ffe5f7f02050b37 (diff)
downloadegawk-da83b6857bf0a67b15fc75d31a0b6802ac9baffe.tar.gz
egawk-da83b6857bf0a67b15fc75d31a0b6802ac9baffe.tar.bz2
egawk-da83b6857bf0a67b15fc75d31a0b6802ac9baffe.zip
Merge branch 'master' into comment
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);