projects
/
radsecproxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[UDP] Free read/write events when destroying connection.
[radsecproxy.git]
/
lib
/
conn.c
diff --git
a/lib/conn.c
b/lib/conn.c
index
c60ecf9
..
f85eec6
100644
(file)
--- a/
lib/conn.c
+++ b/
lib/conn.c
@@
-131,6
+131,10
@@
rs_conn_destroy (struct rs_connection *conn)
bufferevent_free (conn->bev);
if (conn->evb)
event_base_free (conn->evb);
+ if (conn->rev)
+ event_free (conn->rev);
+ if (conn->wev)
+ event_free (conn->wev);
/* TODO: free tls_ctx */
/* TODO: free tls_ssl */