Don't leak temporary fds pointing to /dev/null
authorMichel HERMIER <hermier@frugalware.org>
Fri, 9 Nov 2012 15:44:43 +0000 (15:44 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 9 Nov 2012 16:02:01 +0000 (16:02 +0000)
commit9a9b0e2736378d1a8961fb264d7314e921231e8e
tree349e697a2b97d01bb9b788882a82f9825bb169e9
parente516a31f59abbbf7cbfcc3396ef41162188a7f5c
Don't leak temporary fds pointing to /dev/null

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=56927
[commit message added -smcv]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/dbus-sysdeps-util-unix.c
tools/dbus-launch.c