#73: possible cause of memory leak
---------------------+------------------------------------------------------
Reporter:  smoku     |       Owner:  smoku  
    Type:  task      |      Status:  new    
Priority:  critical  |   Component:  General
 Version:  2.1       |    Keywords:         
---------------------+------------------------------------------------------
 I might found possible cause of memory leak.

 [source:/trunk/util/xhash.c] does not track given pointers (char* and
 void*) anyhow. It replaces them on demand without notice. It's up to the
 using app to track the memory of used char* keys.

 Need to look through the source to find any misuse of xhash_put() (need to
 track keys - preferably from the current pool) and xhash_zap() (need to
 free key before zapping).

-- 
Ticket URL: <http://jabberd2.xiaoka.com/ticket/73>
jabberd2 <http://jabberd2.xiaoka.com/>
jabberd2 project
_______________________________________________
jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com

Reply via email to