mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 11:12:11 +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
8b9f7d864c
commit
4843c4b7be
@ -1,5 +1,8 @@
|
|||||||
2006-08-30 Matthias Clasen <mclasen@redhat.com>
|
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)
|
||||||
|
|
||||||
* Bump version
|
* Bump version
|
||||||
|
|
||||||
* === Released 2.12.3 ===
|
* === Released 2.12.3 ===
|
||||||
|
@ -2172,9 +2172,11 @@ g_markup_vprintf_escaped (const char *format,
|
|||||||
G_VA_COPY (args2, args);
|
G_VA_COPY (args2, args);
|
||||||
|
|
||||||
output1 = g_strdup_vprintf (format1->str, args);
|
output1 = g_strdup_vprintf (format1->str, args);
|
||||||
va_end (args);
|
|
||||||
if (!output1)
|
if (!output1)
|
||||||
goto cleanup;
|
{
|
||||||
|
va_end (args2);
|
||||||
|
goto cleanup;
|
||||||
|
}
|
||||||
|
|
||||||
output2 = g_strdup_vprintf (format2->str, args2);
|
output2 = g_strdup_vprintf (format2->str, args2);
|
||||||
va_end (args2);
|
va_end (args2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user