pidgin: f06350e9: Fix a memleak when setting your status o...
markdoliner at pidgin.im
markdoliner at pidgin.im
Fri Mar 27 06:00:52 EDT 2009
-----------------------------------------------------------------
Revision: f06350e9391cfff6d18fd7f4996a0559b863706f
Ancestor: 3852667ba5b93814efe4ee105b31d6352e7d4c25
Author: markdoliner at pidgin.im
Date: 2009-03-27T09:42:10
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f06350e9391cfff6d18fd7f4996a0559b863706f
Modified files:
libpurple/protocols/myspace/myspace.c
ChangeLog:
Fix a memleak when setting your status on myspace
-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/myspace.c a97646d699824699a8a185c91ba5ecabce3d838f
+++ libpurple/protocols/myspace/myspace.c ac71801413e1bb8cc886f7bf4dccac412e412cfc
@@ -2540,6 +2540,7 @@ 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