From 70be4fa24a9385bc615cb4a37d0600f4d32c302e Mon Sep 17 00:00:00 2001 From: Justin Joy Date: Tue, 14 Jan 2014 15:42:01 +0900 Subject: [PATCH] rtpg726pay: don't leak encoding_name string https://bugzilla.gnome.org/show_bug.cgi?id=722159 --- gst/rtp/gstrtpg726pay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtp/gstrtpg726pay.c b/gst/rtp/gstrtpg726pay.c index 323fd26dd4..a1c8f5d958 100644 --- a/gst/rtp/gstrtpg726pay.c +++ b/gst/rtp/gstrtpg726pay.c @@ -198,6 +198,7 @@ gst_rtp_g726_pay_setcaps (GstRTPBasePayload * payload, GstCaps * caps) "encoding-name = (string) AAL2-%s", encoding_name, encoding_name); filter = gst_caps_from_string (capsstr); g_free (capsstr); + g_free (encoding_name); /* intersect to filter */ intersect = gst_caps_intersect (peercaps, filter);