diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-08-02 20:34:04 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2012-08-02 20:34:04 +0200 |
commit | 5e8fab1419b769783bbedb21d65d997a2d61ee1c (patch) | |
tree | 745f02044c114a24c865f04288d31c6622f3141f /tests/osmo-pcap-test | |
parent | 969db946d46f6d7d8cf378d2f7690b44428c0bba (diff) |
tests: osmo-pcap: callback control the release of the emulated packet
The callback is now in charge of releasing the packet.
Diffstat (limited to 'tests/osmo-pcap-test')
-rw-r--r-- | tests/osmo-pcap-test/pcap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/osmo-pcap-test/pcap.c b/tests/osmo-pcap-test/pcap.c index dbc0204..8fa8e0f 100644 --- a/tests/osmo-pcap-test/pcap.c +++ b/tests/osmo-pcap-test/pcap.c @@ -74,8 +74,6 @@ osmo_pcap_process_packet(const uint8_t *pkt, uint32_t pktlen, ret = cb(msgb); - msgb_free(msgb); - osmo_pcap_test_stats.processed++; return ret; |