]> git.meshlink.io Git - meshlink/commit - src/node.c
Fix a potential segfault when closing a meshlink handle.
authorGuus Sliepen <guus@meshlink.io>
Tue, 26 Jun 2018 12:20:17 +0000 (14:20 +0200)
committerGuus Sliepen <guus@meshlink.io>
Tue, 26 Jun 2018 12:20:17 +0000 (14:20 +0200)
commitc83c7948602acfb5fd0716ac6a47e0c9c9f9bfd8
tree8bd87115872a459f039a104c2a490b74945c27ae
parent4400e95379cf5256d48376eacf98562e232a3cdf
Fix a potential segfault when closing a meshlink handle.

Freeing the UTCP instance of a node would result in meshlink_send() being
called on a node that was already partially freed.
src/meshlink.c
src/node.c