• Stephen Frost's avatar
    Avoid minor leak in parallel pg_dump · 6794a9f9
    Stephen Frost authored
    During parallel pg_dump, a worker process closing the connection caused
    a minor memory leak (particularly minor as we are likely about to exit
    anyway).  Instead, free the memory in this case prior to returning NULL
    to indicate connection closed.
    
    Spotting by the Coverity scanner.
    
    Back patch to 9.3 where this was introduced.
    6794a9f9
parallel.c 36.2 KB