From: Ethan B. <ebl...@us...> - 2003-12-07 15:23:20
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1:/tmp/cvs-serv20102/src Modified Files: stringref.c Log Message: as Robot101 kindly pointed out, gaim_stringref_printf should do something (anything!) with the refcount Index: stringref.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/stringref.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -p -r1.4 -r1.5 --- stringref.c 5 Dec 2003 21:42:00 -0000 1.4 +++ stringref.c 7 Dec 2003 15:23:17 -0000 1.5 @@ -55,6 +55,7 @@ GaimStringref *gaim_stringref_printf(con newref = g_malloc(sizeof(GaimStringref) + g_printf_string_upper_bound(format, ap)); vsprintf(newref->value, format, ap); va_end(ap); + newref->ref = 1; return newref; } |