diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2015-07-29 15:44:32 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-08-01 15:44:17 +0100 |
commit | 1307be519b8785249ee863a22115930299ff642a (patch) | |
tree | 15ef28d906b75870537afd671da3409e55ee4cc0 /VERSION | |
parent | eb3e2562a4bf728082818b46dcae1ab88340786e (diff) | |
download | external_mesa3d-1307be519b8785249ee863a22115930299ff642a.zip external_mesa3d-1307be519b8785249ee863a22115930299ff642a.tar.gz external_mesa3d-1307be519b8785249ee863a22115930299ff642a.tar.bz2 |
winsys/radeon: don't leak the fd when it is 0
Earlier commit added an extra dup(fd) to fix a ZaphodHeads issue.
Although it did not consider the (very unlikely) case where we might end
up with the valid fd == 0.
Fixes: 28dda47ae4d(winsys/radeon: Use dup fd as key in drm-winsys hash
table to fix ZaphodHeads.)
Cc: 10.6 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions