mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 01:28:34 +00:00
media: remove memleak in test test_media_seek
This commit is contained in:
parent
19f9373113
commit
3ff0ca9887
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ GST_START_TEST (test_media_seek)
|
|||
fail_unless (rate == 1.5);
|
||||
fail_unless (applied_rate == 1.0);
|
||||
|
||||
gst_rtsp_range_free (range);
|
||||
|
||||
/* seeking with rate set to -2.0 should result in rate == -2.0 */
|
||||
fail_unless (gst_rtsp_range_parse ("npt=10-5", &range) == GST_RTSP_OK);
|
||||
fail_unless (gst_rtsp_media_seek_trickmode (media, range,
|
||||
|
|
Loading…
Reference in a new issue