[Freeswitch-users] memory leak with switch_core_hash_insert

2009-08-18 Thread Juan Backson
Hi, I am getting some strange vg malloc error message in switch_core_hash_insert. Does anyone know what is wrong with these few lines? Am I missing something? switch_core_hash_init(hash,pool); param_name =switch_core_sprintf(pool,%s, key); param_value =switch_core_sprintf(pool,%s, value);

Re: [Freeswitch-users] memory leak with switch_core_hash_insert

2009-08-18 Thread Mathieu Rene
Hi, You're missing: switch_core_hash_destroy(hash) Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mr...@avgs.ca On 18-Aug-09, at 11:04 AM, Juan Backson wrote: Hi, I am getting some strange vg malloc error message in

Re: [Freeswitch-users] memory leak with switch_core_hash_insert

2009-08-18 Thread Michael Jerris
try running freeswitch with -vg command line arg. Mike On Aug 18, 2009, at 11:04 AM, Juan Backson wrote: Hi, I am getting some strange vg malloc error message in switch_core_hash_insert. Does anyone know what is wrong with these few lines? Am I missing something?

Re: [Freeswitch-users] memory leak with switch_core_hash_insert

2009-08-18 Thread Michael Collins
Just a heads up: this is a rather technical subject. I highly recommend that you use freeswitch-dev list for this kind of thing. -MC On Tue, Aug 18, 2009 at 8:04 AM, Juan Backson juanback...@gmail.com wrote: Hi, I am getting some strange vg malloc error message in switch_core_hash_insert.