Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.c @ 26231:c2042718eb4d
Oh no this one is wrong. msim_set_status_code() calls msim_send() which
takes ownership of the string
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 27 Mar 2009 09:44:36 +0000 |
parents | f38232c944fd |
children |
line wrap: on
line diff
--- 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)