changeset 7790:c2e391c480b6

[gaim-migrate @ 8436] Oh, and this creates unnecessary output, so I'm changing it. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Sun, 07 Dec 2003 16:41:24 +0000
parents d52f01b821df
children 21be2d9e8399
files src/stringref.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/stringref.c	Sun Dec 07 16:38:43 2003 +0000
+++ b/src/stringref.c	Sun Dec 07 16:41:24 2003 +0000
@@ -94,7 +94,8 @@
 
 void gaim_stringref_unref(GaimStringref *stringref)
 {
-	g_return_if_fail(stringref != NULL);
+	if (stringref == NULL)
+		return;
 	if ((--(stringref->ref) & 0x7fffffff) == 0) {
 		if (stringref->ref & 0x80000000)
 			gclist = g_list_remove(gclist, stringref);