projects
/
radsecproxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't have the connection freeing peers -- it's the contexts responsibility.
[radsecproxy.git]
/
lib
/
radsec.c
diff --git
a/lib/radsec.c
b/lib/radsec.c
index
b9c9e35
..
3772158
100644
(file)
--- a/
lib/radsec.c
+++ b/
lib/radsec.c
@@
-120,6
+120,8
@@
_rs_peer_destroy (struct rs_peer *p)
evutil_freeaddrinfo (p->addr);
p->addr = NULL;
}
+ if (p->secret)
+ rs_free (p->conn->ctx, p->secret);
rs_free (p->conn->ctx, p);
}