projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d29bfc9
)
Remove outgoing event in free_connection().
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 29 May 2011 20:34:19 +0000
(22:34 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 29 May 2011 20:34:19 +0000
(22:34 +0200)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index
5a6bc74
..
7fbb0fc
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-81,6
+81,9
@@
void free_connection(connection_t *c) {
if(event_initialized(&c->inevent))
event_del(&c->inevent);
+ if(event_initialized(&c->outevent))
+ event_del(&c->outevent);
+
free(c);
}