Silence resource leaks alerts - Mailing list pgsql-hackers

From Ranier Vilela
Subject Silence resource leaks alerts
Date
Msg-id CAEudQArMzZm7GS68Ht1wVs2jPoDq5JF3Hw8ogHAXaw_1zn6hyw@mail.gmail.com
Whole thread Raw
Responses Re: Silence resource leaks alerts
List pgsql-hackers
Hi.

Per Coverity.

Coverity has some alerts about resource leaks.
I think that is good silence.

While it is arguable that this is a false warning, there is a benefit in moving the initialization of the string buffer, silencing the warnings that are presented in this case.

1. pg_overexplain.c
2. ruleutils.c

best regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: James Hunter
Date:
Subject: Re: BitmapHeapScan streaming read user and prelim refactoring
Next
From: Mahendra Singh Thalor
Date:
Subject: Re: getting "shell command argument contains a newline or carriage return:" error with pg_dumpall when db name have new line in double quote