summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangyeon Lee <cyeon.lee@samsung.com>2016-04-25 13:11:36 +0900
committerChangyeon Lee <cyeon.lee@samsung.com>2016-04-25 13:12:05 +0900
commit3c83d52e2c38af81b45b925d8e8d60b38444b698 (patch)
tree910a0971bc4a53c730e66ae01859bcdbd33d160b
parentda97a150b570cd934e5ba7bd38eb7ab5881520fd (diff)
downloadlibtbm-3c83d52e2c38af81b45b925d8e8d60b38444b698.tar.gz
libtbm-3c83d52e2c38af81b45b925d8e8d60b38444b698.tar.bz2
libtbm-3c83d52e2c38af81b45b925d8e8d60b38444b698.zip
Change-Id: I94fa2fbc7f64331436e6e0069d99da7e3616d46e Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
-rw-r--r--src/tbm_surface_internal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tbm_surface_internal.c b/src/tbm_surface_internal.c
index 796add8..6aa6c31 100644
--- a/src/tbm_surface_internal.c
+++ b/src/tbm_surface_internal.c
@@ -585,6 +585,7 @@ tbm_surface_internal_create_with_flags(int width, int height,
getpid(), __func__, __LINE__);
free(bo);
pthread_mutex_unlock(&surf->bufmgr->lock);
+ goto alloc_fail;
}
bo->ref_cnt = 1;