PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void* rt_pg_realloc ( void *  mem,
size_t  size 
)
static

Definition at line 116 of file rt_pg.c.

References POSTGIS_RT_DEBUGF, and result.

Referenced by _PG_init().

117 {
118  void * result;
119 
120  POSTGIS_RT_DEBUGF(5, "rt_pg_realloc(%ld) called", (long int) size);
121 
122  if (mem)
123  result = repalloc(mem, size);
124 
125  else
126  result = palloc(size);
127 
128  return result;
129 }
char ** result
Definition: liblwgeom.h:218
#define POSTGIS_RT_DEBUGF(level, msg,...)
Definition: rt_pg.h:62

Here is the caller graph for this function: