pidgin: 631f79bb: Fix a possible crash when creating a new...

sadrul at pidgin.im sadrul at pidgin.im
Mon Apr 28 18:45:37 EDT 2008


-----------------------------------------------------------------
Revision: 631f79bb7c381f2ab95decdb79b47efa820eba18
Ancestor: 66cdace4909632b4b28a2f6d7013353cadc1170d
Author: sadrul at pidgin.im
Date: 2008-04-28T22:34:39
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/631f79bb7c381f2ab95decdb79b47efa820eba18

Modified files:
        finch/libgnt/gntws.c

ChangeLog: 

Fix a possible crash when creating a new workspace.

-------------- next part --------------
============================================================
--- finch/libgnt/gntws.c	5e1633ea5d23133783442c311ed31fd7a94658ef
+++ finch/libgnt/gntws.c	84bcc551bd267c5ad6b59303a366762524150b6a
@@ -13,7 +13,8 @@ widget_hide(gpointer data, gpointer node
 	GntNode *node = g_hash_table_lookup(nodes, widget);
 	if (GNT_IS_WINDOW(widget))
 		gnt_window_workspace_hiding(GNT_WINDOW(widget));
-	hide_panel(node->panel);
+	if (node)
+		hide_panel(node->panel);
 }
 
 static void


More information about the Commits mailing list