mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
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:
parent
587c1c4707
commit
3d860913c6
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue