# HG changeset patch # User Mark Doliner # Date 1238146930 0 # Node ID f38232c944fd231d9a7f70466f83173b377e527e # Parent af3cabc8746e3861fe6ca07d04cdbff733e668f7 Fix a memleak when setting your status on myspace diff -r af3cabc8746e -r f38232c944fd libpurple/protocols/myspace/myspace.c --- a/libpurple/protocols/myspace/myspace.c Fri Mar 27 09:41:12 2009 +0000 +++ b/libpurple/protocols/myspace/myspace.c Fri Mar 27 09:42:10 2009 +0000 @@ -2540,6 +2540,7 @@ 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)