Fix a few places that were checking for the return value of palloc() to be

Neil Conway <neilc@samurai.com>

Commit: a323ede2802956f115d71599514fbc01f2575dee
Author: Neil Conway <neilc@samurai.com>
Date: 2006-03-19T22:22:56Z
Releases: 8.2.0
Fix a few places that were checking for the return value of palloc() to be
non-NULL: palloc() ereports on OOM, so we can safely assume it returns a
valid pointer.

Files

PathChange+/−
contrib/chkpass/chkpass.c modified +7 −11
contrib/fuzzystrmatch/fuzzystrmatch.c modified +1 −5
src/backend/utils/adt/cash.c modified +3 −10
src/pl/plperl/plperl.c modified +1 −5
src/pl/plperl/SPI.xs modified +0 −6