radius_example: Fix memory leak on deinit
This commit is contained in:
parent
64ce68fc42
commit
f42cdcc894
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue