gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-696


From: Andrew J. Schorr
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-696-gdfc4b21
Date: Fri, 15 May 2015 13:54:02 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-4.1-stable has been updated
       via  dfc4b219457bc6180abfa7ea8575af3c450c9477 (commit)
      from  5947a3b6d75062b11d5e68b8bbfb5250e703ae26 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=dfc4b219457bc6180abfa7ea8575af3c450c9477

commit dfc4b219457bc6180abfa7ea8575af3c450c9477
Author: Andrew J. Schorr <address@hidden>
Date:   Fri May 15 09:53:34 2015 -0400

    Fix minor memory leak during creation of PROCINFO["identifiers"] array.

diff --git a/ChangeLog b/ChangeLog
index 6850a33..3a38eb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-15         Andrew J. Schorr     <address@hidden>
+
+       * symbol.c (load_symbols): Plug minor memory leak by calling unref(tmp)
+       on "identifiers" string after assoc_lookup is done with it.
+
 2015-05-05         Arnold D. Robbins     <address@hidden>
 
        * awkgram.y (yylex): Yet Another Fix for parsing bracket
diff --git a/symbol.c b/symbol.c
index 845d379..84574e7 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;
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog |    5 +++++
 symbol.c  |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]