forked from enlightenment/efl
ecore_wl2: Don't try to close drm_fd if we never opened it
derp.
This commit is contained in:
parent
63c6724f08
commit
c08920820b
|
@ -453,7 +453,7 @@ _buffer_manager_deref(void)
|
||||||
if (buffer_manager->manager_destroy) buffer_manager->manager_destroy();
|
if (buffer_manager->manager_destroy) buffer_manager->manager_destroy();
|
||||||
free(buffer_manager);
|
free(buffer_manager);
|
||||||
buffer_manager = NULL;
|
buffer_manager = NULL;
|
||||||
close(drm_fd);
|
if (drm_fd >=0) close(drm_fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Currently no callers, but that will change...
|
/* Currently no callers, but that will change...
|
||||||
|
|
Loading…
Reference in New Issue