summaryrefslogtreecommitdiff
path: root/extcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'extcap.c')
-rw-r--r--extcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap.c b/extcap.c
index 8a07f98371..87ec4f5d00 100644
--- a/extcap.c
+++ b/extcap.c
@@ -1388,7 +1388,7 @@ static void remove_extcap_entry(gpointer entry, gpointer data _U_)
extcap_interface *int_iter = (extcap_interface*)entry;
if (int_iter->if_type == EXTCAP_SENTENCE_EXTCAP)
- g_free(int_iter);
+ extcap_free_interface(entry);
}
static gboolean cb_load_interfaces(extcap_callback_info_t cb_info)