radius_example: Fix memory leak on deinit

This commit is contained in:
Jouni Malinen 2009-12-24 12:18:57 +02:00
parent 64ce68fc42
commit f42cdcc894

View File

@ -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();