Mercurial > pidgin
changeset 13230:1841236cb091
[gaim-migrate @ 15595]
Don't show duplicate primitive statuses with no messages in the
list of popular statuses. Whoops.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 11 Feb 2006 18:56:51 +0000 |
parents | cc84c3a2fe93 |
children | af3d6c6aee6b |
files | src/gtkstatusbox.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkstatusbox.c Sat Feb 11 18:55:04 2006 +0000 +++ b/src/gtkstatusbox.c Sat Feb 11 18:56:51 2006 +0000 @@ -1236,6 +1236,11 @@ { gtk_widget_hide_all(status_box->vbox); status_box->imhtml_visible = FALSE; + if (message != NULL) + { + g_free(message); + message = NULL; + } } if (status_box->account == NULL) { @@ -1256,7 +1261,6 @@ saved_status = gaim_savedstatus_find_by_type_and_message( GPOINTER_TO_INT(data), message); - /* If this type+message is unique then create a new transient saved status */ if (saved_status == NULL) {