Commit bd218902 authored by Matthias Clasen's avatar Matthias Clasen

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
parent fc60f7e9
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,
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment