[Pidgin] #7712: Nullprpl cleanup/fixes

Pidgin trac at pidgin.im
Fri Dec 5 23:52:41 EST 2008


#7712: Nullprpl cleanup/fixes
-----------------------+----------------------------------------------------
Reporter:  darkrain42  |        Type:  patch        
  Status:  new         |   Component:  libpurple    
 Version:  2.5.2       |    Keywords:  null nullprpl
-----------------------+----------------------------------------------------
 Various nullprpl fixes. This stemmed from a complaint from a user in
 #pidgin that it crashed if the user didn't change the room from "default"
 to something else when joining.

 Nothing big here, but here's the list:
  * Make a bunch of strings const for good measure
  * g_strdup strings that the caller is supposed to be freeing (one of
 these almost certainly fixes the aforementioned crash)
  * Use g_list_prepend/g_list_reverse
  * Don't leak some strings
  * g_* needs g_free, not free (this might also be the one fixing the
 crash)

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


More information about the Tracker mailing list