Commit 074050f
committed
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.1 parent 1630f5b commit 074050f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14287 | 14287 | | |
14288 | 14288 | | |
14289 | 14289 | | |
| 14290 | + | |
14290 | 14291 | | |
14291 | 14292 | | |
14292 | 14293 | | |
| |||
0 commit comments