soc.2008.themes: b318b732: fixed crash on shutdown (avoid a double ...

ffdragon at soc.pidgin.im ffdragon at soc.pidgin.im
Thu Jun 26 23:45:45 EDT 2008


-----------------------------------------------------------------
Revision: b318b7321108077d31f3dc735677f7f8e23b555e
Ancestor: 26cb0ec05cc5301a1d7050a267d2e7abac2229b8
Author: ffdragon at soc.pidgin.im
Date: 2008-06-27T03:44:28
Branch: im.pidgin.soc.2008.themes
URL: http://d.pidgin.im/viewmtn/revision/info/b318b7321108077d31f3dc735677f7f8e23b555e

Modified files:
        libpurple/theme-manager.c

ChangeLog: 

fixed crash on shutdown (avoid a double free)

-------------- next part --------------
============================================================
--- libpurple/theme-manager.c	6ef952f65becd723b3212d865d8c411f8a307d52
+++ libpurple/theme-manager.c	7a5bdfb17a811ff7d3d2d18d71c0cf79f24e186c
@@ -246,8 +246,6 @@ purple_theme_manager_add_theme(PurpleThe
 	/* if something is already there do nothing */
 	if (g_hash_table_lookup(theme_table, key) == NULL) 
 		g_hash_table_insert(theme_table, key, theme);
-	
-	g_free(key);	
 }
 
 void


More information about the Commits mailing list