summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunkyeong Kim <jk0430.kim@samsung.com>2016-04-18 16:02:29 +0900
committerJunkyeong Kim <jk0430.kim@samsung.com>2016-04-18 21:14:17 +0900
commit666986260390eabc4e8b0ba525bfd67a6e59b09f (patch)
tree0839387d958fa771d1555b66353062bac8c9e7d5
parent96b79a3f283044fcf980ab1a5a90ad4b2d42f591 (diff)
downloadlibtbm-dumb-accepted/tizen_ivi.tar.gz
libtbm-dumb-accepted/tizen_ivi.tar.bz2
libtbm-dumb-accepted/tizen_ivi.zip
Change-Id: I88f95b3ae1fd4cc1df48acbe01b848ff7e270491 Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
-rw-r--r--[-rwxr-xr-x]src/tbm_bufmgr_dumb.c1
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;