test: rtspserver: plug memory leak in test_no_session_timeout

In test_no_session_timeout, unref the rtsp session object when the
test is done.

https://bugzilla.gnome.org/show_bug.cgi?id=792127
This commit is contained in:
Branko Subasic 2018-01-02 14:19:31 +01:00 committed by Tim-Philipp Müller
parent 587c1c4707
commit 3d860913c6

View file

@ -1643,6 +1643,8 @@ GST_START_TEST (test_no_session_timeout)
is_expired = gst_rtsp_session_is_expired_usec (session, now);
fail_unless (is_expired == FALSE);
g_object_unref (session);
}
GST_END_TEST;