# HG changeset patch # User Ethan Blanton # Date 1070810597 0 # Node ID 136c65e68fb161988b925ca6e195f7c1bb02c9ec # Parent 565369d128747d00e6784d56eb6f05adc6c3f21c [gaim-migrate @ 8429] as Robot101 kindly pointed out, gaim_stringref_printf should do something (anything!) with the refcount committer: Tailor Script diff -r 565369d12874 -r 136c65e68fb1 src/stringref.c --- a/src/stringref.c Sun Dec 07 08:55:37 2003 +0000 +++ b/src/stringref.c Sun Dec 07 15:23:17 2003 +0000 @@ -55,6 +55,7 @@ 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; }