Coverity picked up an error in dumpStdStrings() since last night. At
line 1448 there's PQclear(res) yet it's used several times further down
(lines 1452, 1454 and 1456).
I'd actually suggest zeroing out res->tuples in PQclear so this sort of
problem becomes much more obvious.
Coverity bug 304 for people watching at home.
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
pgsql-hackers by date
|Next:||From: Alvaro Herrera||Date: 2006-05-28 15:42:48|
|Subject: Re: Error in recent pg_dump change (coverity)|
|Previous:||From: Marko Kreen||Date: 2006-05-28 11:45:39|
|Subject: Re: Inefficient bytea escaping?|