pidgin: 96332a79: disapproval of revision 'dd58d6e08f6bf88...

datallah at pidgin.im datallah at pidgin.im
Mon Jan 19 23:51:40 EST 2009


-----------------------------------------------------------------
Revision: 96332a79fabc2ea2be0d2cf3fbaa4ea779f0eb02
Ancestor: dd58d6e08f6bf88e8bdd13e3c8d0b73cc73bbab3
Author: datallah at pidgin.im
Date: 2009-01-20T04:37:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/96332a79fabc2ea2be0d2cf3fbaa4ea779f0eb02

Modified files:
        COPYRIGHT libpurple/prefs.c

ChangeLog: 

disapproval of revision 'dd58d6e08f6bf88e8bdd13e3c8d0b73cc73bbab3'

Re-enable the prefs unint changes. Refs #7661.

-------------- next part --------------
============================================================
--- COPYRIGHT	b6894a8ad604a63a15f7d9e2321256dbf009aaf3
+++ COPYRIGHT	a2f89431bbad26dad7c08069947f03285051ea8b
@@ -63,6 +63,7 @@ Keegan Carruthers-Smith
 Damien Carbery
 Michael Carlson
 Keegan Carruthers-Smith
+Ludovico Cavedon
 Steve Cavilia
 Julien Cegarra
 Cerulean Studios, LLC
@@ -228,6 +229,7 @@ Peter Lawler
 Steve L?posi
 Daniel Larsson
 Peter Lawler
+Vadim Lebedev
 Ho-seok Lee
 Jean-Yves Lefort
 Moses Lei
============================================================
--- libpurple/prefs.c	2bd46b2a30301e415080e98ca0813412288b1a43
+++ libpurple/prefs.c	155bb1ed1363d3d72bfc07cb890818a4cdb90e3d
@@ -693,12 +693,15 @@ remove_pref(struct purple_pref *pref)
 	char *name;
 	GSList *l;
 
-	if(!pref || pref == &prefs)
+	if(!pref)
 		return;
 
 	while(pref->first_child)
 		remove_pref(pref->first_child);
 
+	if(pref == &prefs)
+		return;
+
 	if(pref->parent->first_child == pref) {
 		pref->parent->first_child = pref->sibling;
 	} else {
@@ -1452,4 +1455,8 @@ purple_prefs_uninit()
 	}
 
 	purple_prefs_disconnect_by_handle(purple_prefs_get_handle());
+	purple_prefs_destroy();
+	g_hash_table_destroy(prefs_hash);
+	prefs_hash = NULL;
+
 }


More information about the Commits mailing list