From: Junkyeong Kim Date: Thu, 17 Mar 2016 11:30:25 +0000 (+0900) Subject: fix svace error X-Git-Tag: accepted/tizen/common/20160317.161837^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F62694%2F1;p=platform%2Fadaptation%2Fsamsung_exynos%2Flibtbm-exynos.git fix svace error Change-Id: I8454615682b1ac7784077d9060a6334703a2c7d9 Signed-off-by: Junkyeong Kim --- diff --git a/src/tbm_bufmgr_exynos.c b/src/tbm_bufmgr_exynos.c index f4414f0..ad5bfda 100644 --- a/src/tbm_bufmgr_exynos.c +++ b/src/tbm_bufmgr_exynos.c @@ -2059,6 +2059,7 @@ init_tbm_bufmgr_priv(tbm_bufmgr bufmgr, int fd) if (!bufmgr_exynos->device_name) { TBM_EXYNOS_LOG ("[libtbm-exynos:%d] error: Fail to get device name!\n", getpid()); + close(bufmgr_exynos->fd); free (bufmgr_exynos); return 0; }