mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-06 06:26:54 +02:00
bd9396a0b2
The code would do "PQclear(res)" twice if lo_unlink failed, evidently
due to careless thinking about how far out a "break" would break.
Remove the extra PQclear and adjust the loop logic so that we'll fall
out of both levels of loop after an error, as was clearly the intent.
Spotted by Coverity. I have no idea why it took this long to notice,
since the bug has been there since commit
|
||
---|---|---|
.. | ||
t | ||
.gitignore | ||
Makefile | ||
vacuumlo.c |