Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit47ad8d1

Browse files
committed
OOps...missed the second patch of patch two that uses pfree() instead of
free()From: James Hughes <jamesh@interpath.com>
1 parent151a123 commit47ad8d1

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
* AUTHORDATEMAJOR 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)

[8]ページ先頭

©2009-2025 Movatter.jp