aboutsummaryrefslogtreecommitdiffstats
path: root/extcap_parser.h
diff options
context:
space:
mode:
authorTomasz Moń <desowin@gmail.com>2019-05-16 19:37:19 +0200
committerPeter Wu <peter@lekensteyn.nl>2019-05-20 14:30:32 +0000
commit0955f15ba2a1b534212ba937a6e7ae1ffa508b76 (patch)
treee557009ef6785e5a05132033c1078db00721f218 /extcap_parser.h
parentb45e868e37ce18a9d672bc659088131cfbd461ee (diff)
extcap: Fix memory leak in extcap_free_toolbar_control()
Remove duplicate defition of extcap_free_toolbar_control() and extcap_free_toolbar_value(). Change-Id: Ia4c8ca6160017d769616579db158419426e664b7 Reviewed-on: https://code.wireshark.org/review/33224 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'extcap_parser.h')
-rw-r--r--extcap_parser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extcap_parser.h b/extcap_parser.h
index a05f4de6ae..1a728da3d8 100644
--- a/extcap_parser.h
+++ b/extcap_parser.h
@@ -15,6 +15,7 @@
#include <string.h>
#include <config.h>
+#include "ui/iface_toolbar.h"
typedef enum {
EXTCAP_SENTENCE_UNKNOWN,
@@ -184,6 +185,9 @@ gboolean extcap_compare_is_default(extcap_arg *element, extcap_complex *test);
/* Free a single argument */
void extcap_free_arg(extcap_arg *a);
+/* Free entire toolbar control structure */
+void extcap_free_toolbar_control(iface_toolbar_control *control);
+
/* Free an entire arg list */
void extcap_free_arg_list(GList *a);