Commit 368e87e6 authored by Bruce Momjian's avatar Bruce Momjian

Use malloc/palloc as appropriate.

parent d4fb1b23
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment