Aleksander Alekseev <aleksan...@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