summaryrefslogtreecommitdiff
path: root/lib/radsec.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/radsec.c')
-rw-r--r--lib/radsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/radsec.c b/lib/radsec.c
index db406ae..e6b79cf 100644
--- a/lib/radsec.c
+++ b/lib/radsec.c
@@ -107,11 +107,11 @@ rs_context_destroy (struct rs_context *ctx)
evutil_freeaddrinfo (p->addr_cache);
p->addr_cache = NULL;
}
+ rs_free (ctx, p->transport_cred);
p = p->next;
rs_free (ctx, tmp);
}
free (r->name);
- rs_free (ctx, r->transport_cred);
r = r->next;
rs_free (ctx, tmp);
}