• Stephen Frost's avatar
    Fix minor leak in pg_dump · 152d24f5
    Stephen Frost authored
    Move allocation to after we check the remote server version, to avoid
    a possible, very minor, memory leak.  This makes us more consistent
    throughout as most places in pg_dump are done in the same way (due, in
    part, to previous fixes like this).
    
    Spotted by the Coverity scanner.
    152d24f5
pg_dump.c 455 KB