From 368e87e6ae19d0ffb2c4ad0dabbe1eed4a19f30c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 15 Aug 2001 23:22:49 +0000 Subject: [PATCH] Use malloc/palloc as appropriate. --- src/backend/libpq/md5.c | 7 +++++++ 1 file changed, 7 insertions(+) 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. -- 2.40.0