• Tom Lane's avatar
    pg_dump: add missing "destroyPQExpBuffer(query)" in dumpForeignServer(). · 074050f1
    Tom Lane authored
    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.
    074050f1
pg_dump.c 535 KB