]> Pileus Git - ~andy/gtk/commitdiff
Bug 557524 – "va_end(args);" should be added into
authorMatthias Clasen <mclasen@redhat.com>
Fri, 24 Oct 2008 04:16:07 +0000 (04:16 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 24 Oct 2008 04:16:07 +0000 (04:16 +0000)
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

svn path=/trunk/; revision=21706

ChangeLog
gtk/gtktextbuffer.c

index e0fcf5d0cd573a7128e0073c53d3915580404d80..739b637e0fc91bc8b03c2701abca4746d01501ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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
+
 2008-10-23  Alexander Larsson  <alexl@redhat.com>
 
        Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
index 264839b7d1c6d3df098f05ae6d244513f9af7d01..080e5e0e146c8600bc1626870d162542470a1bc6 100644 (file)
@@ -1530,6 +1530,7 @@ gtk_text_buffer_insert_with_tags_by_name  (GtkTextBuffer *buffer,
       if (tag == NULL)
         {
           g_warning ("%s: no tag with name '%s'!", G_STRLOC, tag_name);
+          va_end (args);
           return;
         }