diff options
-rw-r--r--[-rwxr-xr-x] | src/tbm_bufmgr_dumb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tbm_bufmgr_dumb.c b/src/tbm_bufmgr_dumb.c index bf0bbae..7c7e872 100755..100644 --- a/src/tbm_bufmgr_dumb.c +++ b/src/tbm_bufmgr_dumb.c @@ -295,6 +295,7 @@ _tbm_dumb_open_drm() ret = fstat(fd, &s); if (ret) { TBM_DUMB_LOG("fstat() failed %s.\n"); + close(fd); udev_device_unref(drm_device); udev_unref(udev); return -1; |