Skip to content
Snippets Groups Projects
Commit 907ef9b7 authored by Sebastian Dröge's avatar Sebastian Dröge :tea:
Browse files

encoding-profile: Fix caps memory leak

parent bfe46057
No related branches found
Tags mesa-17.1.0-rc3
Loading
......@@ -1530,6 +1530,7 @@ add_stream_to_profile (GstEncodingContainerProfile * profile,
n_streams++;
}
gst_discoverer_stream_info_list_free (streams);
gst_caps_unref (caps);
return n_streams != 0;
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment