]> granicus.if.org Git - postgresql/commit
libpq: Fix minor memory leaks
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 16 Mar 2012 18:30:19 +0000 (20:30 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 16 Mar 2012 18:35:00 +0000 (20:35 +0200)
commitd4318483e151b41cd663e7b36a5539d3c5048c5a
treefd8c154dca8561f594b3a477f8e69df94770c1e3
parent598bb8cdbd9c2554bd8acfc51c9fed473a7d37bc
libpq: Fix minor memory leaks

When using connection info arrays with a conninfo string in the dbname
slot, some memory would be leaked if an error occurred while
processing the following array slots.

found by Coverity
src/interfaces/libpq/fe-connect.c