[MERGED] osmo-mgw[master]: mgcp_test: test_no_cycle: sanitize: free endp

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Nov 22 16:09:51 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: mgcp_test: test_no_cycle: sanitize: free endp
......................................................................


mgcp_test: test_no_cycle: sanitize: free endp

Release endpoint to avoid sanitizer errors.

Change-Id: I78d16ffc435c0f967fe99c6e38dde829b6fa0dc9
---
M tests/mgcp/mgcp_test.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Holger Freyther: Looks good to me, approved



diff --git a/tests/mgcp/mgcp_test.c b/tests/mgcp/mgcp_test.c
index 3dee509..da71b46 100644
--- a/tests/mgcp/mgcp_test.c
+++ b/tests/mgcp/mgcp_test.c
@@ -1262,6 +1262,7 @@
 	OSMO_ASSERT(conn->state.stats_cycles == UINT16_MAX + 1);
 	OSMO_ASSERT(conn->state.stats_max_seq == 0);
 
+	mgcp_release_endp(endp);
 	talloc_free(cfg);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/4919
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I78d16ffc435c0f967fe99c6e38dde829b6fa0dc9
Gerrit-PatchSet: 2
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list