Thu, 04 Feb 2010 22:43:47 +0000
Zero freed memory to avoid a crash on re-init.
Closes #10992.
committer: Sadrul Habib Chowdhury <sadrul@pidgin.im>
| libpurple/buddyicon.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/buddyicon.c Thu Feb 04 22:31:46 2010 +0000 +++ b/libpurple/buddyicon.c Thu Feb 04 22:43:47 2010 +0000 @@ -1300,6 +1300,9 @@ g_hash_table_destroy(pointer_icon_cache); g_free(old_icons_dir); g_free(cache_dir); + + cache_dir = NULL; + old_icons_dir = NULL; } void purple_buddy_icon_get_scale_size(PurpleBuddyIconSpec *spec, int *width, int *height)