mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
r600: don't close fd on failed load
This fd gets passed in from outside, closing it causes the X.org server to crap out when the driver doesn't identify the chipset. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
ea26cc8696
commit
d59da64817
1 changed files with 0 additions and 3 deletions
|
|
@ -202,9 +202,6 @@ struct radeon *radeon_decref(struct radeon *radeon)
|
|||
if (radeon->bomgr)
|
||||
r600_bomgr_destroy(radeon->bomgr);
|
||||
|
||||
if (radeon->fd >= 0)
|
||||
drmClose(radeon->fd);
|
||||
|
||||
free(radeon);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue