Fix minor memory leak.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19885 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2004-08-19 14:50:44 +00:00
parent 0012ff61d2
commit c55cfbd9c6

View file

@ -3127,6 +3127,10 @@ agree, create a new GSUnicodeInlineString otherwise.
fmt[len] = '\0';
GSFormat((GSStr)self, fmt, argList, locale);
if (fmt != fbuf)
{
objc_free(fmt);
}
return self;
}