vorbisenc: add missing va_end in variadic function
authorEdward Hervey <bilboed@bilboed.com>
Mon, 9 Jun 2014 08:38:53 +0000 (10:38 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 9 Jun 2014 08:38:53 +0000 (10:38 +0200)
Coverity 1139944

ext/vorbis/gstvorbisenc.c

index 6579321..824390e 100644 (file)
@@ -655,6 +655,7 @@ _gst_caps_set_buffer_array (GstCaps * caps, const gchar * field,
 
     buf = va_arg (va, GstBuffer *);
   }
+  va_end (va);
 
   gst_structure_take_value (structure, field, &array);