Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 47ad8d1

Browse files
committed
OOps...missed the second patch of patch two that uses pfree() instead of
free() From: James Hughes <jamesh@interpath.com>
1 parent 151a123 commit 47ad8d1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/backend/parser/gram.y

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.97 1998/01/25 04:08:54 scrappy Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 1.98 1998/01/25 04:10:32 scrappy Exp $
1414
*
1515
* HISTORY
1616
* AUTHOR DATE MAJOR EVENT
@@ -1400,6 +1400,8 @@ opt_portal_name: IN name { $$ = $2; }
14001400
GrantStmt: GRANT privileges ON relation_name_list TO grantee opt_with_grant
14011401
{
14021402
$$ = (Node*)makeAclStmt($2,$4,$6,'+');
1403+
pfree($2);
1404+
pfree($6);
14031405
}
14041406
;
14051407

@@ -1424,6 +1426,7 @@ operation_commalist: operation
14241426
| operation_commalist ',' operation
14251427
{
14261428
$$ = aclmakepriv($1,$3);
1429+
pfree($1);
14271430
}
14281431
;
14291432

0 commit comments

Comments
 (0)