realmedia: Fix Memory leak in error case
authorSatya Prakash Gupta <sp.gupta@samsung.com>
Wed, 30 Aug 2017 13:11:28 +0000 (18:41 +0530)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 30 Aug 2017 15:20:41 +0000 (17:20 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=787014

gst/realmedia/rtspreal.c

index f3460a1..8af70be 100644 (file)
@@ -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: