diff options
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 4f13db469..7d9550249 100644 --- a/src/worker.c +++ b/src/worker.c @@ -364,7 +364,7 @@ accept_socket (EV_P_ ev_io *w, int revents) return; } - session = g_malloc (sizeof (*session)); + session = g_malloc0 (sizeof (*session)); session->magic = G_MAXINT64; session->addr = addr; session->fd = nfd; |