Update sn.c

This commit is contained in:
francesco_carli 2020-09-25 12:17:37 +02:00 committed by GitHub
parent acafbc61a1
commit 9dbc54f443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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); comm_init(s,cmn_str);
if(s != NULL) { if(s != NULL) {