zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 彭福田 <ftp...@mediav.com>
Subject memory leak with zookeeper 3.3.3
Date Sat, 08 Oct 2011 06:49:31 GMT
HI,

         When I add watcher duplicate, I found a bug, there may be a memory
leak. 

 

zk_hashtable.c:193

old:

res = add_to_list(&wl, wo, 1);

 

should be:

         res = add_to_list(&wl, wo, 0);

 

Peng Futian

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message