diff options
author | Junkyeong Kim <jk0430.kim@samsung.com> | 2016-04-18 16:02:29 +0900 |
---|---|---|
committer | Junkyeong Kim <jk0430.kim@samsung.com> | 2016-04-18 21:14:17 +0900 |
commit | 666986260390eabc4e8b0ba525bfd67a6e59b09f (patch) | |
tree | 0839387d958fa771d1555b66353062bac8c9e7d5 | |
parent | 96b79a3f283044fcf980ab1a5a90ad4b2d42f591 (diff) | |
download | libtbm-dumb-666986260390eabc4e8b0ba525bfd67a6e59b09f.tar.gz libtbm-dumb-666986260390eabc4e8b0ba525bfd67a6e59b09f.tar.bz2 libtbm-dumb-666986260390eabc4e8b0ba525bfd67a6e59b09f.zip |
fix handle leak errorsubmit/tizen/20160418.122414accepted/tizen/wearable/20160418.235849accepted/tizen/tv/20160418.235858accepted/tizen/mobile/20160418.235912accepted/tizen/ivi/20160418.235901accepted/tizen/common/20160419.143139accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_ivi
Change-Id: I88f95b3ae1fd4cc1df48acbe01b848ff7e270491
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
-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; |