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

Pidgin trac at pidgin.im
Thu Sep 20 14:42:58 EDT 2007


#3245: Resource descriptor and memory leak in  dnssrv.c and javver.c in libpurple
-----------------------+----------------------------------------------------
 Reporter:  emilal     |       Type:  defect
   Status:  new        |   Priority:  minor 
Component:  libpurple  |    Version:  2.2.0 
 Keywords:             |    Pending:  0     
-----------------------+----------------------------------------------------
 When pipes are open in purple_srv_resolve (dnssrv.c) - file descriptores
 are never been closed and stay open, even if the account is closed.

 In jabber.c - srv_resolved_cb -  the code js->srv_query_data = NULL;
 directly shorten the pointer to NULL, without releasing the resources and
 memory (exppected call is purple_srv_cancel(srv_query_data);)

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


More information about the Tracker mailing list