pgsql: vacuumlo: Avoid unlikely memory leak.
pgsql: vacuumlo: Avoid unlikely memory leak.
От:
Robert Haas <rhaas@postgresql.org>
Дата:
vacuumlo: Avoid unlikely memory leak. Spotted by Coverity. This isn't likely to matter in practice, but there's no harm in fixing it. Michael Paquier Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4a0a5f21fa05070295557ad6ac9b9bbe247938ad Modified Files -------------- contrib/vacuumlo/vacuumlo.c | 9 +++++++++ 1 file changed, 9 insertions(+)
Re: pgsql: vacuumlo: Avoid unlikely memory leak.
От:
Michael Paquier <michael.paquier@gmail.com>
Дата:
On Thu, Jan 15, 2015 at 5:18 AM, Robert Haas wrote: > vacuumlo: Avoid unlikely memory leak. > > Spotted by Coverity. This isn't likely to matter in practice, but > there's no harm in fixing it. Coming back to this one, shouldn't this commit be backpatched? -- Michael
Re: pgsql: vacuumlo: Avoid unlikely memory leak.
От:
Alvaro Herrera <alvherre@2ndquadrant.com>
Дата:
Michael Paquier wrote: > On Thu, Jan 15, 2015 at 5:18 AM, Robert Haas wrote: > > vacuumlo: Avoid unlikely memory leak. > > > > Spotted by Coverity. This isn't likely to matter in practice, but > > there's no harm in fixing it. > > Coming back to this one, shouldn't this commit be backpatched? I don't think it matters all that much, does it. It's unlikely and the program is short-lived, so ... -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services