changeset 24420:3ef4625689e0

Fix CID #389
author Richard Laager <rlaager@wiktel.com>
date Fri, 14 Nov 2008 06:36:44 +0000
parents 18858e645788
children 0f035b8db8df
files libpurple/util.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/util.c	Fri Nov 14 06:31:31 2008 +0000
+++ b/libpurple/util.c	Fri Nov 14 06:36:44 2008 +0000
@@ -2390,6 +2390,7 @@
 	gunichar c;
 	char *tag;
 
+	g_return_val_if_fail(str != NULL, NULL);
 	g_return_val_if_fail(x <= y, NULL);
 
 	if (x == y)