diff options
author | Heikki Linnakangas | 2019-06-07 09:44:04 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2019-06-07 09:44:04 +0000 |
commit | 2558776b415097610ab69a03604e79d6958608bc (patch) | |
tree | 26cba634284987b6574a3235a247547bc1834249 /doc/src | |
parent | 5afb57038f338adefb282afb7976c3ab86a92085 (diff) |
Fix copy-pasto in freeing memory on error in vacuumlo.
It's harmless to call PQfreemem() with a NULL argument, so the only
consequence was that if allocating 'schema' failed, but allocating 'table'
or 'field' succeeded, we would leak a bit of memory. That's highly
unlikely to happen, so this is just academical, but let's get it right.
Per bug #15838 from Timur Birsh. Backpatch back to 9.5, where the
PQfreemem() calls were introduced.
Discussion: https://www.postgresql.org/message-id/15838-3221652c72c5e69d@postgresql.org
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions