about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-15 22:20:53 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-12-24 19:59:54 -0800
commitf25c81a51a752786ce8936b503c16912478a89fd (patch)
treee6335e5796487812f4a8c3c7e76b7966cb1506ef /src/rustllvm/RustWrapper.cpp
parent962af9198f8f2a1e2d5121ac216b6f4d574ae54c (diff)
downloadrust-f25c81a51a752786ce8936b503c16912478a89fd.tar.gz
rust-f25c81a51a752786ce8936b503c16912478a89fd.zip
rustuv: Fix a use-after-free on destruction
The uv loop was being destroyed before the async handle was being destroyed, so
closing the async handle was causing a use-after-free in the uv loop. This was
fixed by moving destruction of the queue's async handle to an earlier location
and then actually freeing it once the loop has been dropped.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions