osmo-iuh/src
Neels Hofmeyr d9cb19a8fb tests: sanitize: fix mem leaks, clean after tests
Fix various mem leaks in the testing code.

Add test_common_cleanup() in test_common.c, to free talloc contexts; call in
test-{helpers,hnbap,ranap}.c. Upon talloc ctx cleanup, ensure that they are
actually empty, in order to catch newly introduced mem leaks.

If non-empty, print talloc context reports.

Change-Id: Ic66c005f2a264774e18bb54e58b87bef5944511c
2017-11-22 03:11:40 +01:00
..
hnbap build: cosmetic: hnbap: undup asn1 src path 2016-09-09 06:43:32 +00:00
ranap build: use $top_srcdir instead of ../ 2016-02-29 14:28:00 +01:00
rua build: use $top_srcdir instead of ../ 2016-02-29 14:28:00 +01:00
tests tests: sanitize: fix mem leaks, clean after tests 2017-11-22 03:11:40 +01:00
.gitignore build: fix ranap gen, use same for gen hnbap and rua gen 2016-09-09 06:43:31 +00:00
Makefile.am Add "-Wall" to the compile rules of the non-asn1c-generated source code 2017-11-21 08:25:52 +01:00
context_map.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
hnbap_common.c build: move headers to include/osmocom/* 2016-09-09 06:43:32 +00:00
hnbgw.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
hnbgw_cn.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
hnbgw_hnbap.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
hnbgw_ranap.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
hnbgw_rua.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
hnbgw_vty.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
iu_client.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
iu_client_vty.c iu_client: derive local SCCP addr from sccp instance 2017-08-13 22:46:04 +00:00
iu_helpers.c merge (+rename) iu_helpers.c into libosmo-ranap 2016-01-03 16:31:31 +01:00
ranap_common.c set RANAP msgb headroom to 512 (times two) 2017-07-06 13:53:42 +00:00
ranap_common_cn.c Fix various compiler warnings in hnb-gw code 2017-11-21 11:08:56 +00:00
ranap_msg_factory.c api doc: clarify byte order in ranap_new_msg_rab_assign_* 2017-11-20 21:38:50 +00:00
regen-common-includes.sh ranap: Add more manual definitions to RANAP-PDUs 2015-09-10 21:18:16 +02:00
rua_common.c build: move headers to include/osmocom/* 2016-09-09 06:43:32 +00:00
rua_msg_factory.c build: move headers to include/osmocom/* 2016-09-09 06:43:32 +00:00