diff options
author | Michael Mann <mmann78@netscape.net> | 2017-02-09 12:28:14 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-02-10 13:26:14 +0000 |
commit | b54c43801112711dcba341f3eb4701678a0e1916 (patch) | |
tree | 49c8f27b4ad96bd35189451addd1ab6941a408a3 /ui/qt/conversation_hash_tables_dialog.h | |
parent | 8bbf0341e13b28f76a2e0d9c31bc0912aba36327 (diff) | |
download | wireshark-b54c43801112711dcba341f3eb4701678a0e1916.tar.gz |
Convert conversation hash tables to use wmem.
Simplifies cleanup because wmem can handle the memory cleanup.
Change-Id: Idc6a9bfe5f23c83b59a5278a64b9fb706862342d
Reviewed-on: https://code.wireshark.org/review/20042
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt/conversation_hash_tables_dialog.h')
-rw-r--r-- | ui/qt/conversation_hash_tables_dialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/conversation_hash_tables_dialog.h b/ui/qt/conversation_hash_tables_dialog.h index a0299c428d..4b0d35fa77 100644 --- a/ui/qt/conversation_hash_tables_dialog.h +++ b/ui/qt/conversation_hash_tables_dialog.h @@ -23,6 +23,7 @@ #define CONVERSATION_HASH_TABLES_DIALOG_H #include "geometry_state_dialog.h" +#include <epan/wmem/wmem.h> namespace Ui { class ConversationHashTablesDialog; @@ -39,7 +40,7 @@ public: private: Ui::ConversationHashTablesDialog *ui; - const QString hashTableToHtmlTable(const QString table_name, struct _GHashTable *hash_table); + const QString hashTableToHtmlTable(const QString table_name, wmem_map_t *hash_table); }; #endif // CONVERSATION_HASH_TABLES_DIALOG_H |