mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
radius_example: Fix memory leak on deinit
This commit is contained in:
parent
64ce68fc42
commit
f42cdcc894
@ -151,6 +151,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
radius_client_deinit(ctx.radius);
|
radius_client_deinit(ctx.radius);
|
||||||
os_free(srv->shared_secret);
|
os_free(srv->shared_secret);
|
||||||
|
os_free(srv);
|
||||||
|
|
||||||
eloop_destroy();
|
eloop_destroy();
|
||||||
os_program_deinit();
|
os_program_deinit();
|
||||||
|
Loading…
Reference in New Issue
Block a user