[Pidgin] #4736: myspace memory leak

Pidgin trac at pidgin.im
Sun Jan 27 22:15:31 EST 2008

#4736: myspace 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 modul.

 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

 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/4736>
Pidgin <http://pidgin.im>

More information about the Tracker mailing list