diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-10-15 18:14:59 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-10-15 18:14:59 +0200 |
commit | 384bdf630a59f5611447675dfec962d15bc1eeaa (patch) | |
tree | 5d0fcbb6dc799a16e92cb9ba1f0511347f32d85d /tests | |
parent | 6907ac37e1c353476a4a584818c4a6dac191ccab (diff) |
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 <pablo@gnumonks.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/osmo-pcap-test/osmux_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } /* |