changeset 24364:0f035b8db8df

Fix CID #388
author Richard Laager <rlaager@wiktel.com>
date Fri, 14 Nov 2008 06:39:52 +0000
parents 3ef4625689e0
children 64395aea313c
files libpurple/util.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/util.c	Fri Nov 14 06:36:44 2008 +0000
+++ b/libpurple/util.c	Fri Nov 14 06:39:52 2008 +0000
@@ -984,6 +984,8 @@
 	gchar *tmp;
 	gchar *ret;
 
+	g_return_val_if_fail(opt != NULL, NULL);
+
 	if (!css_str)
 		return NULL;