aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/asn1
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/asn1')
-rw-r--r--plugins/asn1/packet-asn1.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/plugins/asn1/packet-asn1.c b/plugins/asn1/packet-asn1.c
index 995e333d0b..159608a28d 100644
--- a/plugins/asn1/packet-asn1.c
+++ b/plugins/asn1/packet-asn1.c
@@ -2921,12 +2921,14 @@ read_asn1_type_table(const char *filename)
get_values();
- g_node_destroy(asn1_nodes); asn1_nodes = 0;
-#ifndef _WIN32 /* tvb_free not yet exported to plugins... */
+ g_node_destroy(asn1_nodes);
+ asn1_nodes = NULL;
+
tvb_free(asn1_desc);
-#endif
- asn1_desc = 0;
- g_free(data); data = 0;
+ asn1_desc = NULL;
+
+ g_free(data);
+ data = NULL;
showGNodes(data_nodes, 0);