1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +03:00

Use malloc/palloc as appropriate.

This commit is contained in:
Bruce Momjian 2001-08-15 23:22:49 +00:00
parent d4fb1b2388
commit 368e87e6ae

View File

@ -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.