From bd218902809de21782ac9ac02ec803093076de0d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 31 Dec 2008 04:15:57 +0000 Subject: [PATCH] Add a missing va_end() call. Pointed out by Jiwon Lee. * gtk/gtktreestore.c (gtk_tree_store_new): Add a missing va_end() call. Pointed out by Jiwon Lee. svn path=/trunk/; revision=22021 --- ChangeLog | 7 +++++++ gtk/gtktreestore.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 69cfa28bbd..56acab7dc4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-12-30 Matthias Clasen + + Bug 565846 – "va_end(args);" should be added into gtk_tree_store_new + + * gtk/gtktreestore.c (gtk_tree_store_new): Add a missing + va_end() call. Pointed out by Jiwon Lee. + 2008-12-30 Matthias Clasen * gtk/gtkentry.c: Code cleanups; get rid of get_text_area_size, diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c index daf9e1a8d8..9a522df632 100644 --- a/gtk/gtktreestore.c +++ b/gtk/gtktreestore.c @@ -276,6 +276,7 @@ gtk_tree_store_new (gint n_columns, { g_warning ("%s: Invalid type %s\n", G_STRLOC, g_type_name (type)); g_object_unref (retval); + va_end (args); return NULL; } gtk_tree_store_set_column_type (retval, i, type);