/pidgin/main: a99637d00287: Fix an assertion.

Elliott Sales de Andrade qulogic at pidgin.im
Fri Jan 18 04:31:03 EST 2013


Changeset: a99637d0028720f086f68ef34bf449f265bd7b04
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2013-01-18 03:26 -0500
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/a99637d00287

Description:

Fix an assertion.

diffstat:

 pidgin/gtkconv-theme.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff --git a/pidgin/gtkconv-theme.c b/pidgin/gtkconv-theme.c
--- a/pidgin/gtkconv-theme.c
+++ b/pidgin/gtkconv-theme.c
@@ -500,7 +500,8 @@ pidgin_conv_theme_finalize(GObject *obj)
 	}
 	g_free(priv->variant);
 
-	g_array_unref(priv->nick_colors);
+	if (priv->nick_colors)
+		g_array_unref(priv->nick_colors);
 
 	parent_class->finalize(obj);
 }



More information about the Commits mailing list