Use palloc in TopMemoryContext instead of malloc

Peter Eisentraut <peter_e@gmx.net>

Commit: 59ea9ef9aa216d0bc718539cd5622628943d3f21
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-01-18T21:27:53Z
Releases: 9.1.0
Use palloc in TopMemoryContext instead of malloc

As discussed, even if the PL needs a permanent memory location, it
should use palloc, not malloc.  It also makes error handling easier.

Jan Urbański

Files

PathChange+/−
src/pl/plpython/plpython.c modified +5 −10