gtk+ r21706 - in trunk: . gtk



Author: matthiasc
Date: Fri Oct 24 04:16:07 2008
New Revision: 21706
URL: http://svn.gnome.org/viewvc/gtk+?rev=21706&view=rev

Log:
2008-10-24  Matthias Clasen  <mclasen redhat com>

        Bug 557524 â "va_end(args);" should be added into
        gtk_text_buffer_insert_with_tags_by_name( )

        * gtk/gtktextbuffer.c (gtk_text_buffer_insert_with_tags_by_name):
        Don't forget to call va_end. Pointed out by Boram Park



Modified:
   trunk/ChangeLog
   trunk/gtk/gtktextbuffer.c

Modified: trunk/gtk/gtktextbuffer.c
==============================================================================
--- trunk/gtk/gtktextbuffer.c	(original)
+++ trunk/gtk/gtktextbuffer.c	Fri Oct 24 04:16:07 2008
@@ -1530,6 +1530,7 @@
       if (tag == NULL)
         {
           g_warning ("%s: no tag with name '%s'!", G_STRLOC, tag_name);
+          va_end (args);
           return;
         }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]