projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d4203f
)
Don't delete events in event_del(), none of them are allocated with event_new().
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 15 Jan 2011 21:59:16 +0000
(22:59 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 15 Jan 2011 21:59:16 +0000
(22:59 +0100)
src/event.c
patch
|
blob
|
history
diff --git
a/src/event.c
b/src/event.c
index 36dab9ff46415e65763f9071ed072ffd22d771a3..03efc675b20f7a480a70167abbfd0e99f514808c 100644
(file)
--- a/
src/event.c
+++ b/
src/event.c
@@
-40,7
+40,7
@@
static int event_compare(const event_t *a, const event_t *b) {
}
void init_events(void) {
- event_tree = splay_alloc_tree((splay_compare_t) event_compare,
(splay_action_t) free_event
);
+ event_tree = splay_alloc_tree((splay_compare_t) event_compare,
NULL
);
}
void exit_events(void) {