Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
init inst->sessions for maxinfo (#173)
* init inst->sessions for maxinfo

* misc fix
  • Loading branch information
ybbct authored and jhnwkmn committed Apr 13, 2018
1 parent b060e3a commit 3d09c83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/modules/routing/maxinfo/maxinfo.c
Expand Up @@ -154,6 +154,7 @@ createInstance(SERVICE *service, char **options)
return NULL;
}

inst->sessions = NULL;
inst->service = service;
spinlock_init(&inst->lock);

Expand Down

0 comments on commit 3d09c83

Please sign in to comment.