From 3d09c836c5dec5de3864d04e0dcfdf32679112a4 Mon Sep 17 00:00:00 2001 From: dapeng huang <7xerocha@gmail.com> Date: Fri, 13 Apr 2018 17:58:02 +0800 Subject: [PATCH] init inst->sessions for maxinfo (#173) * init inst->sessions for maxinfo * misc fix --- server/modules/routing/maxinfo/maxinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/modules/routing/maxinfo/maxinfo.c b/server/modules/routing/maxinfo/maxinfo.c index bd1ac2bbe..4792ab6dd 100644 --- a/server/modules/routing/maxinfo/maxinfo.c +++ b/server/modules/routing/maxinfo/maxinfo.c @@ -154,6 +154,7 @@ createInstance(SERVICE *service, char **options) return NULL; } + inst->sessions = NULL; inst->service = service; spinlock_init(&inst->lock);