projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4866624
)
[UDP] Free read/write events when destroying connection.
author
Linus Nordberg
<linus@nordu.net>
Sun, 13 Mar 2011 14:30:36 +0000
(15:30 +0100)
committer
Linus Nordberg
<linus@nordu.net>
Sun, 13 Mar 2011 14:30:36 +0000
(15:30 +0100)
lib/conn.c
patch
|
blob
|
history
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 */