From: Bruce Momjian Date: Wed, 15 Aug 2001 23:22:49 +0000 (+0000) Subject: Use malloc/palloc as appropriate. X-Git-Tag: REL7_2_BETA1~692 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=368e87e6ae19d0ffb2c4ad0dabbe1eed4a19f30c;p=postgresql Use malloc/palloc as appropriate. --- diff --git a/src/backend/libpq/md5.c b/src/backend/libpq/md5.c index 4412744249..846202a7b1 100644 --- a/src/backend/libpq/md5.c +++ b/src/backend/libpq/md5.c @@ -28,6 +28,13 @@ typedef unsigned char unsigned8; typedef unsigned int unsigned32; typedef unsigned long unsigned64; +#ifdef FRONTEND +#undef palloc +#define palloc malloc +#undef pfree +#define pfree free +#endif + /* * The returned array is allocated using malloc. the caller should free it * when it is no longer needed.