Mercurial > pidgin
changeset 26230:f38232c944fd
Fix a memleak when setting your status on myspace
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 27 Mar 2009 09:42:10 +0000 |
parents | af3cabc8746e |
children | c2042718eb4d |
files | libpurple/protocols/myspace/myspace.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)