From: Jouni Malinen Date: Thu, 24 Dec 2009 10:18:57 +0000 (+0200) Subject: radius_example: Fix memory leak on deinit X-Git-Tag: hostap_0_7_1~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f42cdcc894a0f6511430d3d5fa984edd04f9ebf1;p=thirdparty%2Fhostap.git radius_example: Fix memory leak on deinit --- diff --git a/radius_example/radius_example.c b/radius_example/radius_example.c index 1bcefc899..fd7dbaee0 100644 --- a/radius_example/radius_example.c +++ b/radius_example/radius_example.c @@ -151,6 +151,7 @@ int main(int argc, char *argv[]) radius_client_deinit(ctx.radius); os_free(srv->shared_secret); + os_free(srv); eloop_destroy(); os_program_deinit();