diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-04-11 00:00:08 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-04-11 00:00:08 -0400 |
| commit | 074050f16a2db9b5ebe5c9f8fdb211cbb810e746 (patch) | |
| tree | 6b8f9efa112c93b2fd78eed4e9d1d02d9ba077b2 /src/backend/utils/adt/char.c | |
| parent | 1630f5b92a3a00aff5674f31af1d418628a00ac7 (diff) | |
pg_dump: add missing "destroyPQExpBuffer(query)" in dumpForeignServer().
Coverity complained about this resource leak (why now, I don't know,
since it's been like that a long time). Our general policy in pg_dump
is that PQExpBuffers are worth cleaning up, so do it here too. But
don't bother with a back-patch, because it seems unlikely that very
many databases contain enough FOREIGN SERVER objects to notice.
Diffstat (limited to 'src/backend/utils/adt/char.c')
0 files changed, 0 insertions, 0 deletions
