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

Michael Meskes <meskes@postgresql.org>

Commit: 157d40640cdd885b72f27db358ba66d12feaec7d
Author: Michael Meskes <meskes@postgresql.org>
Date: 2015-08-12T11:56:38Z
Releases: 9.4.5
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