From 384bdf630a59f5611447675dfec962d15bc1eeaa Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 15 Oct 2012 18:14:59 +0200 Subject: osmux: release of batch message is controled by caller Instead of internally released. This is required if we use the osmo_dgram infrastructure, to avoid a double release. Signed-off-by: Pablo Neira Ayuso --- tests/osmo-pcap-test/osmux_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/osmo-pcap-test') diff --git a/tests/osmo-pcap-test/osmux_test.c b/tests/osmo-pcap-test/osmux_test.c index 541665a..96cb478 100644 --- a/tests/osmo-pcap-test/osmux_test.c +++ b/tests/osmo-pcap-test/osmux_test.c @@ -60,6 +60,7 @@ static void deliver(struct msgb *batch_msg) osmux_xfrm_output(osmuxh, &h_output, &list); osmux_tx_sched(&list, tx_cb, NULL); } + msgb_free(batch_msg); } /* -- cgit v1.2.3