Fix memory leak issue in spawn code on Windows.
authorRalf Habacker <ralf.habacker@freenet.de>
Sat, 14 May 2016 09:42:04 +0000 (11:42 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Mon, 16 May 2016 12:11:24 +0000 (14:11 +0200)
commit37241fc0e1c341b47861203b6b9c42f3b65a6de8
tree9758f36a3880507a6181a021714f7c2dd52aee26
parent4858faf14e0df343169528a042e96589fda459a0
Fix memory leak issue in spawn code on Windows.

In _dbus_babysitter_block_for_child_exit () use spawning
thread handle to have a reliable way to detect spawning
thread termination.

See https://bugs.freedesktop.org/show_bug.cgi?id=95191#c33
for more informations.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=95191
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/dbus-spawn-win.c