This routine was calling ecpg_alloc to allocate to memory but did not

Michael Meskes <meskes@postgresql.org>

Commit: a2b2565fc9318b8903ef4821bc0be40a64810aec
Author: Michael Meskes <meskes@postgresql.org>
Date: 2015-08-12T11:57:57Z
Releases: 9.1.19
This routine was calling ecpg_alloc to allocate to memory but did not
actually check the returned pointer allocated, potentially NULL which
could be the result of a malloc call.

Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>

Files