From 25d4ca70c9a63a597402e663f08cf1cfc6a7640d Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Wed, 9 Apr 2014 11:02:00 +0100 Subject: [PATCH] opus: add missing va_end in variadic function Coverity 1139944 --- ext/opus/gstopusheader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/opus/gstopusheader.c b/ext/opus/gstopusheader.c index 70844c4915..b654aad325 100644 --- a/ext/opus/gstopusheader.c +++ b/ext/opus/gstopusheader.c @@ -143,6 +143,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);