Subj : Valgrind reported memory leak To : comp.programming.threads From : Sanket Shakyavanshi Date : Wed Jun 08 2005 03:38 am Hi, I exactly dont know where to post this message. I am experiencing memory leak but couldn't find out where the exactly leak is? Here is the valgrild report. ==19564== 336 bytes in 14 blocks are definitely lost in loss record 221 of 303 at 0x1B9005F7: malloc (vg_replace_malloc.c:130) by 0x1C7B2C97: pthread_mutex_alloc (in /home/exports/sanket/Server/lib/libldap50.so) by 0x1C7B32A4: ldap_init (in /home/exports/sanket/Server/lib/libldap50.so) by 0x1BB5318A: PSLdapConnection::connect(std::string const&, int) (PSLdapConnection.cpp:285) by 0x1BB515C2: PSLdapConnection::PSLdapConnection(std::string const&, int, std::string const&, std::string const&, bool) (PSLdapConnection.cpp:94) by 0x819B0AF: PSESchema::load(bool) (PSESchema.cpp:307) by 0x8091A2F: main It would be great if someone suggest any poniter to resolve this issue. Thanks in advance Sanket S. .