radv: fix resource leak in radv_amdgpu_ctx_create
CovID: 1396387 V2. Fixup bad whitespace. Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com> Reviewed-by: Edward O'Callaghan <funfunctor@folkore1984.net>
This commit is contained in:
committed by
Edward O'Callaghan
parent
5338fb34d6
commit
3015a23fe0
@@ -742,6 +742,7 @@ static struct radeon_winsys_ctx *radv_amdgpu_ctx_create(struct radeon_winsys *_w
|
||||
ctx->ws = ws;
|
||||
return (struct radeon_winsys_ctx *)ctx;
|
||||
error_create:
|
||||
FREE(ctx);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user