[Reconnoiter-devel] [reconnoiter commit] Reconnoiter branch, master, updated. c31fda3b71d255b654a5398ac37e568d05c66083

git at labs.omniti.com git at labs.omniti.com
Sun Apr 22 17:04:17 EDT 2012


Pushed by: jesus
The branch, master has been updated
       via  c31fda3b71d255b654a5398ac37e568d05c66083 (commit)
      from  e1dc8cfb2340b39aae179bec7cf59498cffc0da7 (commit)

Summary of changes:
 src/modules/lua_noit.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Log:
commit c31fda3b71d255b654a5398ac37e568d05c66083
Author: Theo Schlossnagle <jesus at omniti.com>
Date:   Sun Apr 22 17:04:14 2012 -0400

    fix a leak of 112 bytes in the lua gunzip binding

diff --git a/src/modules/lua_noit.c b/src/modules/lua_noit.c
index 0959d28..2abea9d 100644
--- a/src/modules/lua_noit.c
+++ b/src/modules/lua_noit.c
@@ -1304,6 +1304,7 @@ noit_lua_gunzip_gc(lua_State *L) {
   crutch = (struct gunzip_crutch *)lua_touserdata(L,1);
   if(crutch->scratch_buffer) free(crutch->scratch_buffer);
   inflateEnd(crutch->stream);
+  free(crutch->stream);
   return 0;
 }
 




hooks/post-receive
-- 
Reconnoiter


More information about the Reconnoiter-devel mailing list