Use palloc in TopMemoryContext instead of malloc
Peter Eisentraut <peter_e@gmx.net>
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
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/plpython.c | modified | +5 −10 |