changeset 26313: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 1977e930ab03
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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)