Mercurial > pidgin.yaz
diff src/stringref.c @ 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 | 069ee4ecb56a |
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);
