From: Dennis Schafroth Date: Thu, 4 Oct 2012 17:28:35 +0000 (+0200) Subject: Fix missing init X-Git-Tag: v1.6.22~30 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=0393c84c2d2383ec40fe6058325b8b0f5334d16b;p=pazpar2-moved-to-github.git Fix missing init --- 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;