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

Lines changed: 4 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy