[PATCH] FIx resource leaks (pg_resetwal.c)

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [PATCH] FIx resource leaks (pg_resetwal.c)
Date: 2020-04-23 18:20:59
Message-ID: CAEudQAprothuY+xjdGYwF3=MVwXmPgEtE_q9Lkv7gEwpTfKvMw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
Per Coverity.

read_controlfile alloc memory with pg_malloc and fail in releasing the
memory.

regards,
Ranier Vilela

Attachment Content-Type Size
fix_resource_leaks_pg_resetwal.patch application/octet-stream 855 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2020-04-23 18:27:03 Re: [PATCH] FIx resource leaks (pg_resetwal.c)
Previous Message Tom Lane 2020-04-23 18:10:07 Re: Poll: are people okay with function/operator table redesign?