mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Don't call va_end on caller-provided va_args. (#353584, Chris Wilson)
2006-08-30 Matthias Clasen <mclasen@redhat.com> * glib/gmarkup.c (g_markup_vprintf_escaped): Don't call va_end on caller-provided va_args. (#353584, Chris Wilson)
This commit is contained in:
parent
90f1fd26d2
commit
c699743eca
@ -1,3 +1,8 @@
|
||||
2006-08-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmarkup.c (g_markup_vprintf_escaped): Don't call
|
||||
va_end on caller-provided va_args. (#353584, Chris Wilson)
|
||||
|
||||
2006-08-29 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
Remove support for Windows 9x/ME, as will be done also in Pango
|
||||
|
@ -2172,9 +2172,11 @@ g_markup_vprintf_escaped (const char *format,
|
||||
G_VA_COPY (args2, args);
|
||||
|
||||
output1 = g_strdup_vprintf (format1->str, args);
|
||||
va_end (args);
|
||||
if (!output1)
|
||||
goto cleanup;
|
||||
{
|
||||
va_end (args2);
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
output2 = g_strdup_vprintf (format2->str, args2);
|
||||
va_end (args2);
|
||||
|
Loading…
Reference in New Issue
Block a user