cpw.nader.asynclogging-3: 7910f627: Fixed the log viewer giving errors on cl...

morshed.nader at gmail.com morshed.nader at gmail.com
Thu Jan 13 22:05:47 EST 2011


----------------------------------------------------------------------
Revision: 7910f627b70d9b36993e82de093a9b26a2ea0900
Parent:   eeec478be4753b8f5435b34f3b90a398792b82b4
Author:   morshed.nader at gmail.com
Date:     01/13/11 21:42:36
Branch:   im.pidgin.cpw.nader.asynclogging-3
URL: http://d.pidgin.im/viewmtn/revision/info/7910f627b70d9b36993e82de093a9b26a2ea0900

Changelog: 

Fixed the log viewer giving errors on close

Changes against parent eeec478be4753b8f5435b34f3b90a398792b82b4

  patched  pidgin/gtklog.c

-------------- next part --------------
============================================================
--- pidgin/gtklog.c	184ba64ea1e66f242ed9c6f311ec035d2cf06705
+++ pidgin/gtklog.c	da6af353e452a20b59c1951461b37b2b15383a6d
@@ -1796,7 +1796,10 @@ pidgin_log_viewer_finalize(GObject *obje
 		g_object_unref(priv->read_cancel);
 	}
 
-	g_object_unref(priv->treestore);
+	if (priv->treestore != NULL)
+		g_object_unref(priv->treestore);
+
+	G_OBJECT_CLASS(pidgin_log_viewer_parent_class)->finalize(object);
 }
 
 static void


More information about the Commits mailing list