diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-06-15 00:47:44 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-06-16 04:01:57 +0000 |
commit | 4962ea601f6ee08a4f774750dc37bac2fd92c2ca (patch) | |
tree | ead10a89f64e512ba058c8017bf3dbd04c7070c1 /epan/dissectors/packet-ansi_a.c | |
parent | a38db78f7da431e12d2ee3b995ff68f9c4f50a35 (diff) |
qt: move free_stat_tables from SimpleStatisticsDialog::fillTree to ~SimpleStatisticsDialog.
Add a reference count to stat_tap_table_ui to prevent bad deallocations.
Bug: 12437
Change-Id: Ib9b1f929d08a574c306dc755ec416ab94a3fd6d3
Reviewed-on: https://code.wireshark.org/review/15920
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ansi_a.c')
-rw-r--r-- | epan/dissectors/packet-ansi_a.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ansi_a.c b/epan/dissectors/packet-ansi_a.c index 59079c73a1..5161e5cb33 100644 --- a/epan/dissectors/packet-ansi_a.c +++ b/epan/dissectors/packet-ansi_a.c @@ -12763,7 +12763,8 @@ proto_register_ansi_a(void) NULL, sizeof(dtap_stat_fields)/sizeof(stat_tap_table_item), dtap_stat_fields, 0, NULL, - NULL + NULL, + 0 }; static stat_tap_table_ui bsmap_stat_table = { @@ -12778,7 +12779,8 @@ proto_register_ansi_a(void) NULL, sizeof(bsmap_stat_fields)/sizeof(stat_tap_table_item), bsmap_stat_fields, 0, NULL, - NULL + NULL, + 0 }; memset((void *) ett_dtap_msg, -1, sizeof(ett_dtap_msg)); |