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
This commit is contained in:
Matthias Clasen 2008-12-31 04:15:57 +00:00
parent fc60f7e93e
commit bd21890280
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2008-12-30 Matthias Clasen <mclasen@redhat.com>
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 <mclasen@redhat.com>
* gtk/gtkentry.c: Code cleanups; get rid of get_text_area_size,

View File

@ -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);