pidgin: 4a09c5cf: Oh no this one is wrong. msim_set_statu...

markdoliner at pidgin.im markdoliner at pidgin.im
Fri Mar 27 06:00:50 EDT 2009


-----------------------------------------------------------------
Revision: 4a09c5cff1884765bcbb5fd413a0265d25b5582c
Ancestor: f06350e9391cfff6d18fd7f4996a0559b863706f
Author: markdoliner at pidgin.im
Date: 2009-03-27T09:44:36
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/4a09c5cff1884765bcbb5fd413a0265d25b5582c

Modified files:
        libpurple/protocols/myspace/myspace.c

ChangeLog: 

Oh no this one is wrong.  msim_set_status_code() calls msim_send() which
takes ownership of the string

-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/myspace.c	ac71801413e1bb8cc886f7bf4dccac412e412cfc
+++ libpurple/protocols/myspace/myspace.c	a97646d699824699a8a185c91ba5ecabce3d838f
@@ -2540,7 +2540,6 @@ msim_set_status(PurpleAccount *account, 
 		stripped = g_strdup("");
 
 	msim_set_status_code(session, status_code, stripped);
-	g_free(stripped);
 
 	/* If we should be idle, set that status. Time is irrelevant here. */
 	if (purple_presence_is_idle(pres) && status_code != MSIM_STATUS_CODE_OFFLINE_OR_HIDDEN)


More information about the Commits mailing list