From b597b4fc9ddec48f162f65f953bae78927ae3fca Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sat, 18 Nov 2017 21:28:35 +0100 Subject: [PATCH] mgcp_test: test_no_cycle: sanitize: free endp Release endpoint to avoid sanitizer errors. Change-Id: I78d16ffc435c0f967fe99c6e38dde829b6fa0dc9 --- tests/mgcp/mgcp_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/mgcp/mgcp_test.c b/tests/mgcp/mgcp_test.c index 3dee50974..da71b4676 100644 --- a/tests/mgcp/mgcp_test.c +++ b/tests/mgcp/mgcp_test.c @@ -1262,6 +1262,7 @@ static void test_no_cycle(void) OSMO_ASSERT(conn->state.stats_cycles == UINT16_MAX + 1); OSMO_ASSERT(conn->state.stats_max_seq == 0); + mgcp_release_endp(endp); talloc_free(cfg); }