From 9dbc54f443c5fc444d697c75bc38119a372cb790 Mon Sep 17 00:00:00 2001 From: francesco_carli <62562180+fcarli3@users.noreply.github.com> Date: Fri, 25 Sep 2020 12:17:37 +0200 Subject: [PATCH] Update sn.c --- src/sn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sn.c b/src/sn.c index b672dab..4187cf1 100644 --- a/src/sn.c +++ b/src/sn.c @@ -90,6 +90,7 @@ static int load_allowed_sn_community(n2n_sn_t *sss, char *path) { } } + s = (struct sn_community*)calloc(1,sizeof(struct sn_community)); comm_init(s,cmn_str); if(s != NULL) {