mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
legacyresample: Fix memory leak in the unit test by unreffing the caps
This commit is contained in:
parent
6b51d475b5
commit
1528309456
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ setup_legacyresample (int channels, int inrate, int outrate)
|
|||
* later */
|
||||
gst_pad_set_caps (mysinkpad, caps);
|
||||
gst_pad_use_fixed_caps (mysinkpad);
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_pad_set_active (mysinkpad, TRUE);
|
||||
gst_pad_set_active (mysrcpad, TRUE);
|
||||
|
|
Loading…
Reference in a new issue