ecpg_register_prepared_stmt() is pretty obviously checking the wrong variable while trying to detect malloc failure. Error in commit a1dc6ab4, spotted by Coverity.
Attach a file by drag & drop or click to upload