]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/io: freed handle could be touched in libuv
authorMarek Vavrusa <marek@vavrusa.com>
Sun, 29 May 2016 20:27:19 +0000 (13:27 -0700)
committerMarek Vavrusa <marek@vavrusa.com>
Sun, 29 May 2016 20:27:19 +0000 (13:27 -0700)
commit23708ddb91601e89eece62b4ec7b4b1c43947c0d
tree3d9beb54c6fec3bcf8f88284f155202f864d8381
parent644e8f61eb60dd6608180afe363aa2cd7e781239
daemon/io: freed handle could be touched in libuv

the daemon wrongly freed handle that returned 0,
as in "no more data". this socket is going to be
closed, but it still could be touched by libuv
so it must be freed wit uv_close() handler
daemon/io.c