summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöran Jönsson <goranjn@axis.com>2019-10-07 10:14:52 +0200
committerGöran Jönsson <goranjn@axis.com>2019-10-07 10:42:54 +0200
commit3ff0ca988749c897af892281a7710a69b3f14060 (patch)
tree461b8f85daf3d5a1dfc366158f401622983d0fa0
parent19f9373113d70875d625e01c7f415d6b9982cbd4 (diff)
media: remove memleak in test test_media_seek
-rw-r--r--tests/check/gst/media.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/gst/media.c b/tests/check/gst/media.c
index 8a41854..2cb2ba6 100644
--- a/tests/check/gst/media.c
+++ b/tests/check/gst/media.c
@@ -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,