From 178e25b0d6436e23ec381c4e47001b341c67608d Mon Sep 17 00:00:00 2001 From: Satya Prakash Gupta Date: Wed, 30 Aug 2017 19:09:18 +0530 Subject: gst-streaming-server: Fix memory leak in error case https://bugzilla.gnome.org/show_bug.cgi?id=787015 --- gst-streaming-server/gss-pull.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-streaming-server/gss-pull.c b/gst-streaming-server/gss-pull.c index b39eafe..5f6df56 100644 --- a/gst-streaming-server/gss-pull.c +++ b/gst-streaming-server/gss-pull.c @@ -243,6 +243,7 @@ gss_stream_create_follow_pipeline (GssStream * stream, const char *follow_url) if (error != NULL) { GST_WARNING ("pipeline parse error: %s", error->message); g_error_free (error); + g_string_free (pipe_desc, TRUE); return; } g_string_free (pipe_desc, TRUE); -- cgit v1.2.3