From: Marc G. Fournier Date: Sun, 25 Jan 1998 04:10:32 +0000 (+0000) Subject: OOps...missed the second patch of patch two that uses pfree() instead of X-Git-Tag: REL6_3~308 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47ad8d1cf5e6d019b93995102563d14e4c337c73;p=postgresql OOps...missed the second patch of patch two that uses pfree() instead of free() From: James Hughes --- diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index 213f77e29c..c64acc5fc3 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.97 1998/01/25 04:08:54 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.98 1998/01/25 04:10:32 scrappy Exp $ * * HISTORY * AUTHOR DATE MAJOR EVENT @@ -1400,6 +1400,8 @@ opt_portal_name: IN name { $$ = $2; } GrantStmt: GRANT privileges ON relation_name_list TO grantee opt_with_grant { $$ = (Node*)makeAclStmt($2,$4,$6,'+'); + pfree($2); + pfree($6); } ; @@ -1424,6 +1426,7 @@ operation_commalist: operation | operation_commalist ',' operation { $$ = aclmakepriv($1,$3); + pfree($1); } ;