[Pidgin] #3245: Resource descriptor and memory leak in dnssrv.c and javver.c in libpurple

Pidgin trac at pidgin.im
Mon Sep 24 12:10:55 EDT 2007


#3245: Resource descriptor and memory leak in  dnssrv.c and javver.c in libpurple
------------------------+---------------------------------------------------
  Reporter:  emilal     |       Owner:       
      Type:  defect     |      Status:  new  
  Priority:  minor      |   Milestone:       
 Component:  libpurple  |     Version:  2.2.0
Resolution:             |    Keywords:       
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by datallah):

 The proposed solution isn't correct, the jabber code shouldn't be calling
 purple_srv_cancel() in that code path.

 purple_srv_cancel() should be called from within the resolved() function
 in dnssrv.c:214.  The reason it isn't being called is probably that the
 waitpid() call on line 212 is hanging - I have no idea why this would
 happen as the child process should `_exit(0);` at the end of resolve().

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3245#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list