diff options
Diffstat (limited to 'plugins/opcua/opcua.c')
-rw-r--r-- | plugins/opcua/opcua.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/opcua/opcua.c b/plugins/opcua/opcua.c index acde1ab74b..9f1bd07f44 100644 --- a/plugins/opcua/opcua.c +++ b/plugins/opcua/opcua.c @@ -385,6 +385,12 @@ init_opcua(void) &addresses_reassembly_table_functions); } +static void +cleanup_opcua(void) +{ + reassembly_table_destroy(&opcua_reassembly_table); +} + /** plugin entry functions. * This registers the OpcUa protocol. */ @@ -443,6 +449,7 @@ void proto_register_opcua(void) proto_register_field_array(proto_opcua, hf, array_length(hf)); register_init_routine(&init_opcua); + register_cleanup_routine(&cleanup_opcua); /* register user preferences */ opcua_module = prefs_register_protocol(proto_opcua, proto_reg_handoff_opcua); |