gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, feature/memleak, updated. gawk-4.1.0-246


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, feature/memleak, updated. gawk-4.1.0-2467-g38bf60d
Date: Mon, 10 Apr 2017 08:08:46 -0400 (EDT)

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, feature/memleak has been updated
       via  38bf60d89b766be81789ddd47c2e237c2af4710e (commit)
      from  22bfbd1057c2fa9d5e5b2401d6b1ab60737452d9 (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=38bf60d89b766be81789ddd47c2e237c2af4710e

commit 38bf60d89b766be81789ddd47c2e237c2af4710e
Author: Arnold D. Robbins <address@hidden>
Date:   Mon Apr 10 15:08:32 2017 +0300

    Small style change in symbol.c.

diff --git a/ChangeLog b/ChangeLog
index ba5bba5..daa1bbd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-04-10         Arnold D. Robbins     <address@hidden>
+
+       * symbol.c (free_bc_mempool): Change `first' from int to bool.
+
 2017-04-07         Andrew J. Schorr     <address@hidden>
 
        * awk.h (INSTRUCTION_POOL): Redefine as an array of structures so we
diff --git a/symbol.c b/symbol.c
index d63277b..51e3cf2 100644
--- a/symbol.c
+++ b/symbol.c
@@ -916,7 +916,7 @@ free_bc_internal(INSTRUCTION *cp)
 static void
 free_bc_mempool(struct instruction_mem_pool *pool, int size)
 {
-       int first = 1;
+       bool first = true;
        struct instruction_block *block, *next;
 
        for (block = pool->block_list; block; block = next) {
@@ -929,7 +929,7 @@ free_bc_mempool(struct instruction_mem_pool *pool, int size)
                }
                next = block->next;
                efree(block);
-               first = 0;
+               first = false;
        }
 }
 

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

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


hooks/post-receive
-- 
gawk



reply via email to

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