summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2018-03-20 20:19:18 +0900
committerSooChan Lim <sc1.lim@samsung.com>2018-03-20 20:19:18 +0900
commit489d91cccbcc72c916c80c2e3e801c7436e0df6b (patch)
tree48b6a07e6fd6ac71f204fc7ccf8686fb28c45b59
parent2075cfd22d0924ad01af1178ebd3929e45e92aed (diff)
downloadlibtbm-dumb-489d91cccbcc72c916c80c2e3e801c7436e0df6b.tar.gz
libtbm-dumb-489d91cccbcc72c916c80c2e3e801c7436e0df6b.tar.bz2
libtbm-dumb-489d91cccbcc72c916c80c2e3e801c7436e0df6b.zip
return TBM_ERROR_NONE
Change-Id: Ia18f671c9178be9618c61530782f692e06a5d336
-rw-r--r--src/tbm_bufmgr_dumb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tbm_bufmgr_dumb.c b/src/tbm_bufmgr_dumb.c
index 872fe67..876c989 100644
--- a/src/tbm_bufmgr_dumb.c
+++ b/src/tbm_bufmgr_dumb.c
@@ -1344,6 +1344,9 @@ tbm_dumb_bo_export_fd(tbm_backend_bo_data *bo_data, tbm_error_e *error)
bo_dumb->flags_tbm,
bo_dumb->size);
+ if (error)
+ *error = TBM_ERROR_NONE;
+
return (tbm_fd)arg.fd;
}