Mercurial > pidgin.yaz
changeset 16023:fab49f913709
Fix another refcount leak.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 09 Apr 2007 02:27:05 +0000 |
parents | ec049b8a8619 |
children | b60aaf9da8b1 |
files | pidgin/gtksavedstatuses.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtksavedstatuses.c Mon Apr 09 02:17:25 2007 +0000 +++ b/pidgin/gtksavedstatuses.c Mon Apr 09 02:27:05 2007 +0000 @@ -1647,6 +1647,8 @@ SS_MENU_TEXT_COLUMN, purple_primitive_get_name_from_type(primitive), SS_MENU_DATA_COLUMN, GINT_TO_POINTER(primitive), -1); + if (pixbuf != NULL) + g_object_unref(pixbuf); if (purple_savedstatus_is_transient(current_status) && !purple_savedstatus_has_substatuses(current_status)