]> git.meshlink.io Git - meshlink/commit
Fix meshlink_close().
authorGuus Sliepen <guus@sliepen.org>
Tue, 29 Jul 2014 15:57:20 +0000 (17:57 +0200)
committerGuus Sliepen <guus@sliepen.org>
Tue, 29 Jul 2014 15:57:20 +0000 (17:57 +0200)
commita568bee4fa65742b452a8bd003c86d58d942e45f
treec00bbd4218c46d770b9b168debdef620466b0373
parent3ba46c8dbefbb1dfc6776aa8b0107956f038a870
Fix meshlink_close().

Exit early when mesh->confbase = NULL. That should only happen after
meshlink_close() has already been called. Also, memset() before free(),
not after.
src/meshlink.c