rtspserver: Remove memleak in test test_double_play
authorGöran Jönsson <goranjn@axis.com>
Mon, 7 Oct 2019 08:07:54 +0000 (10:07 +0200)
committerGöran Jönsson <goranjn@axis.com>
Mon, 7 Oct 2019 08:42:04 +0000 (10:42 +0200)
tests/check/gst/rtspserver.c

index 0a0eec4..82d007f 100644 (file)
@@ -2589,6 +2589,8 @@ GST_START_TEST (test_double_play)
           session) == GST_RTSP_STS_OK);
 
   /* clean up and iterate so the clean-up can finish */
+  g_object_unref (rtp_socket);
+  g_object_unref (rtcp_socket);
   g_free (session);
   gst_rtsp_transport_free (video_transport);
   gst_rtsp_transport_free (audio_transport);