diff options
Diffstat (limited to 'epan/dissectors/packet-ltp.c')
-rw-r--r-- | epan/dissectors/packet-ltp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ltp.c b/epan/dissectors/packet-ltp.c index 6cc142da91..7f911e4ad2 100644 --- a/epan/dissectors/packet-ltp.c +++ b/epan/dissectors/packet-ltp.c @@ -772,6 +772,11 @@ ltp_defragment_init(void) { &addresses_reassembly_table_functions); } +static void +ltp_defragment_cleanup(void) { + reassembly_table_destroy(<p_reassembly_table); +} + /* Register the protocol with Wireshark */ void proto_register_ltp(void) @@ -976,6 +981,7 @@ proto_register_ltp(void) "The UDP or DCCP port to accept LTP Connections", 10, <p_port); register_init_routine(ltp_defragment_init); + register_cleanup_routine(ltp_defragment_cleanup); } void |