diff options
author | Linus Nordberg <linus@nordu.net> | 2011-03-21 14:17:55 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-03-21 14:17:55 +0100 |
commit | 6cefe9483fda567d9db2447bda2f09f63d1101af (patch) | |
tree | 973a8e6d361811f1e0ec6917971d4cc21780b7ab /lib/radsec.c | |
parent | 217d24060890986d38848e0a9fd68ae6e7d1727f (diff) |
(rs_context_destroy): Use free() rather than rs_free() for realm->name.
Diffstat (limited to 'lib/radsec.c')
-rw-r--r-- | lib/radsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/radsec.c b/lib/radsec.c index 6ff047d..c7ba68c 100644 --- a/lib/radsec.c +++ b/lib/radsec.c @@ -158,7 +158,7 @@ rs_context_destroy (struct rs_context *ctx) p = p->next; rs_free (ctx, tmp); } - rs_free (ctx, r->name); /* FIXME: Stop freeing once we stop strdup in rs_context_read_config(). */ + free (ctx, r->name); r = r->next; rs_free (ctx, tmp); } |