Mercurial > pidgin.yaz
comparison src/stringref.c @ 7796:e04c0044c56f
[gaim-migrate @ 8442]
Why do I always miss one?
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sun, 07 Dec 2003 20:49:00 +0000 |
parents | 069ee4ecb56a |
children | fa6395637e2c |
comparison
equal
deleted
inserted
replaced
7795:069ee4ecb56a | 7796:e04c0044c56f |
---|---|
122 | 122 |
123 static void stringref_free(GaimStringref *stringref) | 123 static void stringref_free(GaimStringref *stringref) |
124 { | 124 { |
125 #ifdef DEBUG | 125 #ifdef DEBUG |
126 if (REFCOUNT(stringref->ref) != 0) { | 126 if (REFCOUNT(stringref->ref) != 0) { |
127 gaim_debug(GAIM_DEBUG_ERROR, "stringref", "Free of nonzero (%d) ref stringref!\n", stringref->ref); | 127 gaim_debug(GAIM_DEBUG_ERROR, "stringref", "Free of nonzero (%d) ref stringref!\n", REFCOUNT(stringref->ref)); |
128 return; | 128 return; |
129 } | 129 } |
130 #endif /* DEBUG */ | 130 #endif /* DEBUG */ |
131 g_free(stringref); | 131 g_free(stringref); |
132 } | 132 } |