summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatya Prakash Gupta <sp.gupta@samsung.com>2017-08-30 19:09:18 +0530
committerSebastian Dröge <sebastian@centricular.com>2017-09-11 12:29:49 +0300
commit178e25b0d6436e23ec381c4e47001b341c67608d (patch)
tree132e93ccd10305fb91aab47d06b95fb2a23731e2
parent4fa498bdebaac3544632b61aff260ad675a7c98a (diff)
gst-streaming-server: Fix memory leak in error caseHEADmaster
https://bugzilla.gnome.org/show_bug.cgi?id=787015
-rw-r--r--gst-streaming-server/gss-pull.c1
1 files changed, 1 insertions, 0 deletions
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);