# HG changeset patch # User Mark Doliner # Date 1238147076 0 # Node ID c2042718eb4d33dda460df87fbb573212926cd72 # Parent f38232c944fd231d9a7f70466f83173b377e527e Oh no this one is wrong. msim_set_status_code() calls msim_send() which takes ownership of the string diff -r f38232c944fd -r c2042718eb4d libpurple/protocols/myspace/myspace.c --- a/libpurple/protocols/myspace/myspace.c Fri Mar 27 09:42:10 2009 +0000 +++ b/libpurple/protocols/myspace/myspace.c Fri Mar 27 09:44:36 2009 +0000 @@ -2540,7 +2540,6 @@ 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)