Commit 08ff5899 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

audioencoder: plug caps ref leak

parent 473371f9
......@@ -2551,6 +2551,7 @@ gst_audio_encoder_set_output_format (GstAudioEncoder * enc, GstCaps * caps)
done:
if (query)
gst_query_unref (query);
gst_caps_unref (caps);
return res;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment