From e2d9947c57c11aa97fbb3fd40358cf3e71998e6b Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Tue, 15 Jun 2021 17:53:18 +0900 Subject: [PATCH 1/1] tbm_bo: initialize the bo2 Change-Id: I56c25746dabf86426ab632bcbfc8b6a6674da8d8 --- src/tbm_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tbm_bo.c b/src/tbm_bo.c index 0d31ea5..cf1dda0 100644 --- a/src/tbm_bo.c +++ b/src/tbm_bo.c @@ -617,7 +617,7 @@ tbm_bo_alloc_with_surface(tbm_bufmgr bufmgr, int width, int height, int format, tbm_bo tbm_bo_alloc_with_bo_data(tbm_bufmgr bufmgr, tbm_backend_bo_data *bo_data, int flags) { - tbm_bo bo, bo2; + tbm_bo bo, bo2 = NULL; _tbm_bufmgr_mutex_lock(); _tbm_set_last_result(TBM_ERROR_NONE); -- 2.7.4