projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a927989
)
[UDP] Free the event base _after_ freeing the read and write events.
author
Linus Nordberg
<linus@nordu.net>
Sun, 13 Mar 2011 23:44:00 +0000
(
00:44
+0100)
committer
Linus Nordberg
<linus@nordu.net>
Sun, 13 Mar 2011 23:44:00 +0000
(
00:44
+0100)
Duh!
lib/conn.c
patch
|
blob
|
history
diff --git
a/lib/conn.c
b/lib/conn.c
index
58290f5
..
9f114a5
100644
(file)
--- a/
lib/conn.c
+++ b/
lib/conn.c
@@
-130,12
+130,12
@@
rs_conn_destroy (struct rs_connection *conn)
event_free (conn->tev);
if (conn->bev)
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);
+ if (conn->evb)
+ event_base_free (conn->evb);
/* TODO: free tls_ctx */
/* TODO: free tls_ssl */