aboutsummaryrefslogtreecommitdiffstats
path: root/radius_example/radius_example.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-24 10:18:57 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-24 10:18:57 (GMT)
commitf42cdcc894a0f6511430d3d5fa984edd04f9ebf1 (patch)
tree0b06f89747cd47bbaa7e4d8b2cd1a61fe14a3796 /radius_example/radius_example.c
parent64ce68fc420c4cb99e042140222f1720b6ff916d (diff)
downloadhostap-f42cdcc894a0f6511430d3d5fa984edd04f9ebf1.zip
hostap-f42cdcc894a0f6511430d3d5fa984edd04f9ebf1.tar.gz
hostap-f42cdcc894a0f6511430d3d5fa984edd04f9ebf1.tar.bz2
radius_example: Fix memory leak on deinit
Diffstat (limited to 'radius_example/radius_example.c')
-rw-r--r--radius_example/radius_example.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/radius_example/radius_example.c b/radius_example/radius_example.c
index 1bcefc8..fd7dbae 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();