From c19e71100032927bf5d88ef700a5034dc3f08565 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 11 Mar 2011 13:19:39 +0100 Subject: Free the realm name which is strdup'd when config is read. --- lib/radsec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') 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); } -- cgit v1.1