On Thu, 2007-11-01 at 15:39 +0200, Pekka Pessi wrote: > 2007/10/30, Ge@@ru <[EMAIL PROTECTED]>: > > why on hash_resize macro (su/sofia-sip/htable.h) there isn't su_free of > > old_hash? There is a su_zalloc call for allocate a new memory area but > > then i don't see su_free of old data. > > Looks like a leak. I'll fix that and see if it breaks anything... > Seems that works fine with my "hashtable" applications. Thanks.
--- htable.h 2007-11-01 21:24:59.000000000 +0100 +++ htable.h.new 2007-11-01 21:24:52.000000000 +0100 @@ -170,6 +170,8 @@ \ assert(pr->pr##_used == used); \ \ + su_free (home, old_hash); \ +\ return 0; \ } \ \ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel