From 3d9a2153f87d7948ba46a26118c8f6896746a193 Mon Sep 17 00:00:00 2001 From: Hyunil Date: Mon, 28 Jan 2019 15:07:48 +0900 Subject: [PATCH] fix SVACE bug about memory free Change-Id: Ife67f029f779bf4b20f192dd55fae9eed24669b2 Signed-off-by: Hyunil --- gst-libs/gst/rtsp/gstrtspconnection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index 484f2c4..1d2d08f 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -859,7 +859,8 @@ remote_address_failed: GST_ERROR ("failed to resolve address: %s", error->message); g_object_unref (connection); g_clear_error (&error); - return GST_RTSP_ERROR; + res = GST_RTSP_ERROR; + goto exit; } } -- 2.7.4