aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2015-05-15 09:53:34 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2015-05-15 09:53:34 -0400
commitdfc4b219457bc6180abfa7ea8575af3c450c9477 (patch)
tree4eb9fedb32c35b138b1d6ded0010b117f3e0ea60 /symbol.c
parent5947a3b6d75062b11d5e68b8bbfb5250e703ae26 (diff)
downloadegawk-dfc4b219457bc6180abfa7ea8575af3c450c9477.tar.gz
egawk-dfc4b219457bc6180abfa7ea8575af3c450c9477.tar.bz2
egawk-dfc4b219457bc6180abfa7ea8575af3c450c9477.zip
Fix minor memory leak during creation of PROCINFO["identifiers"] array.
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/symbol.c b/symbol.c
index 845d3797..84574e7b 100644
--- a/symbol.c
+++ b/symbol.c
@@ -560,6 +560,7 @@ load_symbols()
memset(sym_array, '\0', sizeof(NODE)); /* PPC Mac OS X wants this */
null_array(sym_array);
+ unref(tmp);
unref(*aptr);
*aptr = sym_array;