pidgin/pidginstock.c

changeset 28515
10d8aab24f2e
parent 28476
04e8f641aa37
child 28573
c890e9052237
child 29514
7b39d4c94f2e
--- a/pidgin/pidginstock.c	Sun Sep 06 01:39:10 2009 +0000
+++ b/pidgin/pidginstock.c	Sun Sep 06 01:46:42 2009 +0000
@@ -609,7 +609,8 @@
 
 		PidginStatusIconTheme *theme = PIDGIN_STATUS_ICON_THEME(purple_theme_loader_build(PURPLE_THEME_LOADER(loader), path));
 		pidgin_stock_load_status_icon_theme(theme);
-		g_object_unref(G_OBJECT(theme));
+		if (theme)
+			g_object_unref(G_OBJECT(theme));
 
 	}
 	else

mercurial