You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by 彭福田 <ft...@mediav.com> on 2011/10/08 08:49:31 UTC

memory leak with zookeeper 3.3.3

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

 


Re: memory leak with zookeeper 3.3.3

Posted by Mahadev Konar <ma...@hortonworks.com>.
Peng,

dev@zookeeper.apache.org would be the right mailing list for this kind
of discussion.

Would you mind opening a jira for this issue and uploading a patch for the same?

Thanks
mahadev

2011/10/7 彭福田 <ft...@mediav.com>:
> 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
>
>
>
>