1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Change some mallocs to palloc.

This commit is contained in:
Bruce Momjian
1997-12-29 05:13:57 +00:00
parent a1dd409053
commit a544b605e2
5 changed files with 12 additions and 15 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.3 1997/11/26 03:42:44 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.4 1997/12/29 05:13:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -46,7 +46,7 @@ make_parsestate(void)
{
ParseState *pstate;
pstate = malloc(sizeof(ParseState));
pstate = palloc(sizeof(ParseState));
pstate->p_last_resno = 1;
pstate->p_rtable = NIL;
pstate->p_numAgg = 0;