From 5e178d2c558b8e3c387f3e7ad1f823f0477cfa74 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 27 Oct 2021 16:26:05 +0300 Subject: [PATCH] sip: fix memory leak (x_gcr) in send_invite() Change-Id: I6a2e5e15061010f6e62d0f3b0acd2c040dbe3249 Fixes: Id40d7e0fed9356f801b3627c118150055e7232b1 Related: OS#5164 --- src/sip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sip.c b/src/sip.c index 684ef74..0e88716 100644 --- a/src/sip.c +++ b/src/sip.c @@ -692,6 +692,7 @@ static int send_invite(struct sip_agent *agent, struct sip_call_leg *leg, talloc_free(from); talloc_free(to); talloc_free(sdp); + talloc_free(x_gcr); return 0; }