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 /src | |
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 'src')
-rw-r--r-- | src/osmux.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osmux.c b/src/osmux.c index d2ad96d..56ecd03 100644 --- a/src/osmux.c +++ b/src/osmux.c @@ -248,7 +248,6 @@ void osmux_xfrm_input_deliver(struct osmux_in_handle *h) LOGP(DLMIB, LOGL_DEBUG, "invoking delivery function\n"); batch_msg = osmux_build_batch(h); h->deliver(batch_msg); - msgb_free(batch_msg); osmo_timer_del(&batch->timer); batch->remaining_bytes = OSMUX_BATCH_MAX; } |