mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
unit: Fix memory leaks
This commit is contained in:
parent
9ab468b1c0
commit
8b3ec52c09
@ -444,6 +444,9 @@ static void eapol_4way_test(const void *data)
|
|||||||
do_debug, "[EAPoL] ");
|
do_debug, "[EAPoL] ");
|
||||||
|
|
||||||
assert(!memcmp(frame, eapol_key_data_4, sizeof(eapol_key_data_4)));
|
assert(!memcmp(frame, eapol_key_data_4, sizeof(eapol_key_data_4)));
|
||||||
|
|
||||||
|
l_free(ptk);
|
||||||
|
l_free(frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
Loading…
Reference in New Issue
Block a user