aboutsummaryrefslogtreecommitdiffstats
path: root/radius_example
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-24 12:18:57 +0200
committerJouni Malinen <j@w1.fi>2009-12-24 12:18:57 +0200
commitf42cdcc894a0f6511430d3d5fa984edd04f9ebf1 (patch)
tree0b06f89747cd47bbaa7e4d8b2cd1a61fe14a3796 /radius_example
parent64ce68fc420c4cb99e042140222f1720b6ff916d (diff)
downloadexternal_wpa_supplicant_8_ti-f42cdcc894a0f6511430d3d5fa984edd04f9ebf1.zip
external_wpa_supplicant_8_ti-f42cdcc894a0f6511430d3d5fa984edd04f9ebf1.tar.gz
external_wpa_supplicant_8_ti-f42cdcc894a0f6511430d3d5fa984edd04f9ebf1.tar.bz2
radius_example: Fix memory leak on deinit
Diffstat (limited to 'radius_example')
-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();