diff options
Diffstat (limited to 'epan/dissectors/packet-stt.c')
-rw-r--r-- | epan/dissectors/packet-stt.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-stt.c b/epan/dissectors/packet-stt.c index 93d76b906d..c6a9828874 100644 --- a/epan/dissectors/packet-stt.c +++ b/epan/dissectors/packet-stt.c @@ -179,6 +179,12 @@ stt_segment_init(void) &addresses_reassembly_table_functions); } +static void +stt_segment_cleanup(void) +{ + reassembly_table_destroy(&stt_reassembly_table); +} + static tvbuff_t * handle_segment(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 pkt_id, guint16 pkt_len, guint16 seg_off) @@ -975,6 +981,7 @@ proto_register_stt(void) &pref_check_checksum); register_init_routine(stt_segment_init); + register_cleanup_routine(stt_segment_cleanup); } void |