[Mesa-dev] [PATCH] radv: fix resource leak in radv_amdgpu_ctx_create
Nayan Deshmukh
nayan26deshmukh at gmail.com
Mon Dec 5 09:27:20 UTC 2016
Thanks for the review. Can you push the patch for me.
Regards,
Nayan
On Mon, Dec 5, 2016 at 2:46 PM, Edward O'Callaghan
<funfunctor at folklore1984.net> wrote:
> Reviewed-by: Edward O'Callaghan <funfunctor at folkore1984.net>
>
> On 12/05/2016 04:45 AM, Nayan Deshmukh wrote:
>> CovID: 1396387
>>
>> Signed-off-by: Nayan Deshmukh <nayan26deshmukh at gmail.com>
>> ---
>> src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c
>> index b8558fa..08abb9d 100644
>> --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c
>> +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c
>> @@ -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;
>> }
>>
>>
>
More information about the mesa-dev
mailing list