From 6915572695b6438b78bfc87abed245b72f951987 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 12 Jan 2011 12:07:04 +0100 Subject: [PATCH] server: unref auth in finalize --- gst/rtsp-server/rtsp-server.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gst/rtsp-server/rtsp-server.c b/gst/rtsp-server/rtsp-server.c index b9ac26c900..b51569a97d 100644 --- a/gst/rtsp-server/rtsp-server.c +++ b/gst/rtsp-server/rtsp-server.c @@ -156,6 +156,9 @@ gst_rtsp_server_finalize (GObject * object) g_object_unref (server->session_pool); g_object_unref (server->media_mapping); + + if (server->auth) + g_object_unref (server->auth); } /**