Fix a memory leak in psql: we'd leak a few PGresult handles if

Neil Conway <neilc@samurai.com>

Commit: 415b925345ef99adaab31af89787a2c0814fcffa
Author: Neil Conway <neilc@samurai.com>
Date: 2006-11-08T01:22:55Z
Releases: 8.2.0
Fix a memory leak in psql: we'd leak a few PGresult handles if
a connectivity error occurred while executing one of the queries
for "\d <table>". Not serious, but still worth fixing. Patch from
Brendan Jurd.

Files

PathChange+/−
src/bin/psql/describe.c modified +8 −1