validate: media-descriptor: fix caps leak
gst_pad_get_current_caps() returns a reffed caps.
This commit is contained in:
parent
093390981c
commit
32eac4db44
@ -384,6 +384,7 @@ done:
|
||||
if (compare_func == NULL)
|
||||
*bufs = g_list_reverse (*bufs);
|
||||
|
||||
gst_caps_unref (pad_caps);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user