summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatya Prakash Gupta <sp.gupta@samsung.com>2017-08-30 18:41:28 +0530
committerEdward Hervey <bilboed@bilboed.com>2017-12-01 10:58:10 +0100
commitb6ed0d85944b9606d51b57eb2d3e5e029b95f8e0 (patch)
treef22c0b1d603f2575318ff4f0aa32b4a8b919c811
parentffbf076dd13783786d7c7147b4d909af52f7b341 (diff)
realmedia: Fix Memory leak in error case
https://bugzilla.gnome.org/show_bug.cgi?id=787014
-rw-r--r--gst/realmedia/rtspreal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/realmedia/rtspreal.c b/gst/realmedia/rtspreal.c
index f3460a19..8af70bec 100644
--- a/gst/realmedia/rtspreal.c
+++ b/gst/realmedia/rtspreal.c
@@ -647,6 +647,7 @@ create_request_failed:
{
GST_ELEMENT_ERROR (ctx, LIBRARY, INIT,
("Could not create request."), (NULL));
+ g_free (req_url);
goto reset;
}
send_error: