From 9843b08e53b88ce8332a840a3154fd6586cc94ce Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 9 Jun 2014 10:39:20 +0200 Subject: [PATCH] speexenc: add missing va_end in variadic function Coverity 1139944 --- ext/speex/gstspeexenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c index c17e8a3988..8e13eb1c2d 100644 --- a/ext/speex/gstspeexenc.c +++ b/ext/speex/gstspeexenc.c @@ -658,6 +658,7 @@ _gst_caps_set_buffer_array (GstCaps * caps, const gchar * field, buf = va_arg (va, GstBuffer *); } + va_end (va); gst_structure_set_value (structure, field, &array); g_value_unset (&array);