Use malloc/palloc as appropriate.

REL7_2_STABLE
Bruce Momjian 24 years ago
parent d4fb1b2388
commit 368e87e6ae
  1. 7
      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.

Loading…
Cancel
Save