--- a/src/server/daemon/event_bsd.c Tue Jun 25 22:18:59 2013 +0200 +++ b/src/server/daemon/event_bsd.c Wed Jun 26 15:09:54 2013 +0200 @@ -69,10 +69,7 @@ conf->handler = ev; conf->port = ev->ports[i]; - ev_thr_conf_t *thrconf = malloc(sizeof(ev_thr_conf_t)); - thrconf->handler = ev; - thrconf->port = ev->ports[i]; - systhread_start(0, 0, (thrstartfunc)ev_handle_events, thrconf); + systhread_start(0, 0, (thrstartfunc)ev_handle_events, conf); /* TODO: error handling */ }