summaryrefslogtreecommitdiff
path: root/extcap/androiddump.c
diff options
context:
space:
mode:
Diffstat (limited to 'extcap/androiddump.c')
-rw-r--r--extcap/androiddump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extcap/androiddump.c b/extcap/androiddump.c
index 30a732600e..ab145cbf4f 100644
--- a/extcap/androiddump.c
+++ b/extcap/androiddump.c
@@ -2439,6 +2439,7 @@ static int capture_android_tcpdump(char *interface, char *fifo,
g_regex_match(regex, data, (GRegexMatchFlags)0, &match);
if (g_match_info_matches(match)) {
+ g_free(linktype);
linktype = g_match_info_fetch_named(match, "linktype");
}
g_match_info_free(match);