]> git.meshlink.io Git - meshlink/commit
Zero the struct meshlink_handle in meshlink_close().
authorGuus Sliepen <guus@sliepen.org>
Tue, 29 Jul 2014 14:59:08 +0000 (16:59 +0200)
committerGuus Sliepen <guus@sliepen.org>
Tue, 29 Jul 2014 14:59:08 +0000 (16:59 +0200)
commit9415492f4d32d5468050a677411de939bfd933bc
tree52ffb07a345e7aae4d791963c80c7441294e90a3
parent9e8082294a3509b66d98f7340283d0d2bedfa5be
Zero the struct meshlink_handle in meshlink_close().

This prevents potentially bad behaviour when the application calls
meshlink_close() twice on the same pointer.
src/meshlink.c