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/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged.
Change subject: abis_test: sanitize: fix msgb memleak
......................................................................
abis_test: sanitize: fix msgb memleak
Helps fix sanitizer build on debian 9.
Change-Id: I69750d9cd2b8f30bfc6d2dfd9e62576e46989fab
---
M tests/abis/abis_test.c
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/tests/abis/abis_test.c b/tests/abis/abis_test.c
index a631712..c0605c2 100644
--- a/tests/abis/abis_test.c
+++ b/tests/abis/abis_test.c
@@ -193,6 +193,8 @@
/* check multiple, chained SW-descr: */
chk_raw("half", chain, sizeof(chain) / 2);
chk_raw("full", chain, sizeof(chain));
+
+ msgb_free(msg);
}
int main(int argc, char **argv)
--
To view, visit https://gerrit.osmocom.org/4862
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I69750d9cd2b8f30bfc6d2dfd9e62576e46989fab
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder