From 0393c84c2d2383ec40fe6058325b8b0f5334d16b Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Thu, 4 Oct 2012 19:28:35 +0200 Subject: [PATCH] Fix missing init --- src/session.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/session.c b/src/session.c index c973b0c..4900bd2 100644 --- a/src/session.c +++ b/src/session.c @@ -982,6 +982,8 @@ struct session *new_session(NMEM nmem, struct conf_service *service, session->session_nmem = nmem; session->nmem = nmem_create(); session->databases = 0; + session->sorted_results = 0; + for (i = 0; i <= SESSION_WATCH_MAX; i++) { session->watchlist[i].data = 0; -- 1.7.10.4