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

Michael Meskes <meskes@postgresql.org>

Commit: d4215954747e5463ea5c161aa776040ec45c40e4
Author: Michael Meskes <meskes@postgresql.org>
Date: 2015-08-12T11:58:16Z
Releases: 9.0.23
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