Change in osmo-sip-connector[master]: sip: fix memory leak (x_gcr) in send_invite()

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed Oct 27 13:46:54 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sip-connector/+/25978 )


Change subject: sip: fix memory leak (x_gcr) in send_invite()
......................................................................

sip: fix memory leak (x_gcr) in send_invite()

Change-Id: I6a2e5e15061010f6e62d0f3b0acd2c040dbe3249
Fixes: Id40d7e0fed9356f801b3627c118150055e7232b1
Related: OS#5164
---
M src/sip.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sip-connector refs/changes/78/25978/1

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 @@
 	talloc_free(from);
 	talloc_free(to);
 	talloc_free(sdp);
+	talloc_free(x_gcr);
 	return 0;
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sip-connector/+/25978
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sip-connector
Gerrit-Branch: master
Gerrit-Change-Id: I6a2e5e15061010f6e62d0f3b0acd2c040dbe3249
Gerrit-Change-Number: 25978
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211027/a512756d/attachment.htm>


More information about the gerrit-log mailing list