Browse Source

radius_example: Fix memory leak on deinit

Jouni Malinen 15 years ago
parent
commit
f42cdcc894
1 changed files with 1 additions and 0 deletions
  1. 1 0
      radius_example/radius_example.c

+ 1 - 0
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();