OSDN Git Service

Fix a memory leak in psql: we'd leak a few PGresult handles if
authorNeil Conway <neilc@samurai.com>
Wed, 8 Nov 2006 01:22:55 +0000 (01:22 +0000)
committerNeil Conway <neilc@samurai.com>
Wed, 8 Nov 2006 01:22:55 +0000 (01:22 +0000)
commit415b925345ef99adaab31af89787a2c0814fcffa
tree5823fc8fc0db2e32ff710835e33fc884028f6c09
parent8964b41c7b88bb1acc7bb9811ca8cb4938c7a410
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.
src/bin/psql/describe.c