]> granicus.if.org Git - postgresql/commit
Fix more thinkos in new ECPG "PREPARE AS" code.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 May 2019 14:39:11 +0000 (10:39 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 26 May 2019 14:39:11 +0000 (10:39 -0400)
commit39fe881d3cf315d8d2ea9ee4ea1e3e39a82d5cc7
tree0ec4dbeae09e426312e9916e2dd34e1ab0a02957
parent331695a4d9ca40864240aca721dc588a206ff395
Fix more thinkos in new ECPG "PREPARE AS" code.

ecpg_build_params() failed to check for ecpg_alloc failure in one
newly-added code path, and leaked a temporary string in another path.
Errors in commit a1dc6ab46, spotted by Coverity.
src/interfaces/ecpg/ecpglib/execute.c