diff options
author | Linus Nordberg <linus@nordu.net> | 2011-03-11 13:19:39 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-03-11 13:19:39 +0100 |
commit | c19e71100032927bf5d88ef700a5034dc3f08565 (patch) | |
tree | ecaa9af320034898a7b4d767044e2ea12f8e815f /lib | |
parent | 2913a6b0f4fc5d097843d8c80786b8c313fb9d30 (diff) |
Free the realm name which is strdup'd when config is read.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/radsec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/radsec.c b/lib/radsec.c index 2ae515d..0957365 100644 --- a/lib/radsec.c +++ b/lib/radsec.c @@ -163,6 +163,7 @@ rs_context_destroy (struct rs_context *ctx) p = p->next; _rs_peer_destroy (tmp); } + rs_free (ctx, r->name); r = r->next; rs_free (ctx, tmp); } |