zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1081936 - in /zookeeper/trunk: CHANGES.txt src/c/src/zookeeper.c
Date Tue, 15 Mar 2011 20:42:22 GMT
Author: mahadev
Date: Tue Mar 15 20:42:21 2011
New Revision: 1081936

URL: http://svn.apache.org/viewvc?rev=1081936&view=rev
Log:
ZOOKEEPER-1007. iarchive leak in C client (jeremy stribling via mahadev)

Modified:
    zookeeper/trunk/CHANGES.txt
    zookeeper/trunk/src/c/src/zookeeper.c

Modified: zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/trunk/CHANGES.txt?rev=1081936&r1=1081935&r2=1081936&view=diff
==============================================================================
--- zookeeper/trunk/CHANGES.txt (original)
+++ zookeeper/trunk/CHANGES.txt Tue Mar 15 20:42:21 2011
@@ -186,6 +186,8 @@ BUGFIXES: 
   ZOOKEEPER-1013 zkServer.sh usage message should mention all startup options
   (eugene koontz via mahadev)
 
+  ZOOKEEPER-1007. iarchive leak in C client (jeremy stribling via mahadev)
+
 IMPROVEMENTS:
   ZOOKEEPER-724. Improve junit test integration - log harness information 
   (phunt via mahadev)

Modified: zookeeper/trunk/src/c/src/zookeeper.c
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/c/src/zookeeper.c?rev=1081936&r1=1081935&r2=1081936&view=diff
==============================================================================
--- zookeeper/trunk/src/c/src/zookeeper.c (original)
+++ zookeeper/trunk/src/c/src/zookeeper.c Tue Mar 15 20:42:21 2011
@@ -1956,6 +1956,7 @@ int zookeeper_process(zhandle_t *zh, int
                     destroy_completion_entry(cptr);
                     cptr = NULL;
                 }
+                close_buffer_iarchive(&ia);
                 return api_epilog(zh,ZINVALIDSTATE);
             }
             assert(cptr);



Mime
View raw message