Commit 47ad8d1c authored by Marc G. Fournier's avatar Marc G. Fournier

OOps...missed the second patch of patch two that uses pfree() instead of

free()

From: James Hughes <jamesh@interpath.com>
parent 151a1238
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * 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 * HISTORY
* AUTHOR DATE MAJOR EVENT * AUTHOR DATE MAJOR EVENT
...@@ -1400,6 +1400,8 @@ opt_portal_name: IN name { $$ = $2; } ...@@ -1400,6 +1400,8 @@ opt_portal_name: IN name { $$ = $2; }
GrantStmt: GRANT privileges ON relation_name_list TO grantee opt_with_grant GrantStmt: GRANT privileges ON relation_name_list TO grantee opt_with_grant
{ {
$$ = (Node*)makeAclStmt($2,$4,$6,'+'); $$ = (Node*)makeAclStmt($2,$4,$6,'+');
pfree($2);
pfree($6);
} }
; ;
...@@ -1424,6 +1426,7 @@ operation_commalist: operation ...@@ -1424,6 +1426,7 @@ operation_commalist: operation
| operation_commalist ',' operation | operation_commalist ',' operation
{ {
$$ = aclmakepriv($1,$3); $$ = aclmakepriv($1,$3);
pfree($1);
} }
; ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment