diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/v3d/v3d_bufmgr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_bufmgr.c b/src/gallium/drivers/v3d/v3d_bufmgr.c index 31a08036b38..dd8a2e98611 100644 --- a/src/gallium/drivers/v3d/v3d_bufmgr.c +++ b/src/gallium/drivers/v3d/v3d_bufmgr.c @@ -367,7 +367,8 @@ v3d_bo_open_handle(struct v3d_screen *screen, strerror(errno)); free(bo->map); free(bo); - return NULL; + bo = NULL; + goto done; } bo->offset = get.offset; assert(bo->offset != 0); |