From 9cd13ca681b0273e1c3efe04cc13889883a6fd32 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Sun, 2 May 2021 02:34:08 +0200 Subject: [PATCH] sip: media-pipeline: Fix memory leak --- plugins/sip/calls-sip-media-pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sip/calls-sip-media-pipeline.c b/plugins/sip/calls-sip-media-pipeline.c index dd21c2a..0052ae3 100644 --- a/plugins/sip/calls-sip-media-pipeline.c +++ b/plugins/sip/calls-sip-media-pipeline.c @@ -360,7 +360,7 @@ initable_init (GInitable *initable, GError **error) { CallsSipMediaPipeline *self = CALLS_SIP_MEDIA_PIPELINE (initable); - GstCaps *caps; + g_autoptr (GstCaps) caps = NULL; g_autofree char *caps_string = NULL; GstPad *srcpad, *sinkpad; GstStructure *props = NULL;