This patch fixes a small memory leak in libpq: the 'pstatus' field ofPGconn is a linked list of malloc'ed nodes, so it should be freed onPQfinish().
-Neil