[Pidgin] #4737: msimprpl memory leak

Pidgin trac at pidgin.im
Sun Jan 27 22:16:36 EST 2008


#4737: msimprpl memory leak
-------------------+--------------------------------------------------------
Reporter:  oliver  |       Owner:  jeff               
    Type:  defect  |      Status:  new                
Priority:  minor   |   Component:  MySpace            
 Version:  2.3.1   |    Keywords:  myspace memory leak
 Pending:  0       |  
-------------------+--------------------------------------------------------
 There is a memory leak in the myspace protocol module.

 msim_uid2username_from_blist() returns a g_strdup'ed copy of the username
 but when called
 from msim_input_cb (myspace.c:1274) and not null the memory is leaked near
 1253/1254.

 Solution would be to either not g_strdup it again in myspace.c:1253 or
 g_free() it before
 returning in myspace.c:1254

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


More information about the Tracker mailing list