EAP: fix a memory leak

(cherry picked from commit 20a6fea312)
This commit is contained in:
Alexis La Goutte 2021-03-12 08:52:21 +00:00
parent fd940a364c
commit fbbaa3d03d
1 changed files with 1 additions and 0 deletions

View File

@ -927,6 +927,7 @@ dissect_eap_identity_wlan(tvbuff_t *tvb, packet_info* pinfo, proto_tree* tree, i
(guint)(strlen(realm_tokens[2]) - strlen("mcc")), mcc);
end:
g_strfreev(tokens);
g_strfreev(realm_tokens);
return ret;
}