Re: Fix resource leak (src/backend/libpq/be-secure-common.c)
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Ranier Vilela <ranier.vf@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2024-04-02T18:31:48Z
Lists: pgsql-hackers
> On 2 Apr 2024, at 20:13, Ranier Vilela <ranier.vf@gmail.com> wrote: > Fix by freeing the pointer, like pclose_check (src/common/exec.c) similar case. Off the cuff, seems reasonable when loglevel is LOG. -- Daniel Gustafsson
Commits
-
Fix memory leaks in error reporting with LOG level
- b362d1481669 17.0 landed