Re: [PATCH] Silence Valgrind about SelectConfigFiles() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Silence Valgrind about SelectConfigFiles()
Date
Msg-id 14515.1755126853@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] Silence Valgrind about SelectConfigFiles()  (Aleksander Alekseev <aleksander@tigerdata.com>)
Responses Re: [PATCH] Silence Valgrind about SelectConfigFiles()
List pgsql-hackers
Aleksander Alekseev <aleksander@tigerdata.com> writes:
> I experimented with Valgrind after recent changes committed by Tom [1]
> and catched this:
> ...
> I propose to correct this as attached.

You didn't say what the test condition was, but from the patch
I suppose it's a case where SelectConfigFiles is erroring out?
Kind of hard to get excited about preventing a leak in that path,
since we're going to exit immediately.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: index prefetching
Next
From: Andres Freund
Date:
Subject: Re: index prefetching