aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-24 10:18:57 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-09 19:03:37 (GMT)
commitfd550e9d81e6f60bee6249f03f8577a87885d5f4 (patch)
treee3f0b40e3a6d0a86a17dcf408f7989409b7df4a3
parentc35a0fe3012cc71d596d62ca7c009fd6b4c1683f (diff)
downloadhostap-06-fd550e9d81e6f60bee6249f03f8577a87885d5f4.zip
hostap-06-fd550e9d81e6f60bee6249f03f8577a87885d5f4.tar.gz
hostap-06-fd550e9d81e6f60bee6249f03f8577a87885d5f4.tar.bz2
radius_example: Fix memory leak on deinit
(cherry picked from commit f42cdcc894a0f6511430d3d5fa984edd04f9ebf1)
-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 ed3d174..591254c 100644
--- a/radius_example/radius_example.c
+++ b/radius_example/radius_example.c
@@ -154,6 +154,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();