Browse Source

guarded free() on supernode exit (#615)

pull/619/head
Logan oos Even 4 years ago
committed by GitHub
parent
commit
c2741ace2d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/sn_utils.c

3
src/sn_utils.c

@ -339,7 +339,8 @@ void sn_term (n2n_sn_t *sss) {
free(re);
}
free(sss->community_file);
if(sss->community_file)
free(sss->community_file);
#ifdef WIN32
destroyWin32();
#endif

Loading…
Cancel
Save