EAP: fix a memory leak

This commit is contained in:
Nardi Ivan 2021-03-11 19:52:24 +01:00
parent 74d432ecc4
commit 20a6fea312
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;
}