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

Commitf8e02c1

Browse files
committed
Unallocate opaque.
1 parenta180738 commitf8e02c1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎src/backend/access/gist/gistscan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ gistendscan(IndexScanDesc s)
215215
if (p!= (GISTScanOpaque)NULL) {
216216
gistfreestack(p->s_stack);
217217
gistfreestack(p->s_markstk);
218+
pfree (s->opaque);
218219
}
219220

220221
gistdropscan(s);

‎src/backend/access/hash/hashscan.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.7 1996/11/05 09:40:22 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.8 1996/11/15 18:36:31 momjian Exp $
1111
*
1212
* NOTES
1313
* Because we can be doing an index scan on a relation while we
@@ -80,9 +80,7 @@ _hash_dropscan(IndexScanDesc scan)
8080
else
8181
last->hashsl_next=chk->hashsl_next;
8282

83-
#ifdefPERFECT_MEM
8483
pfree (chk);
85-
#endif/* PERFECT_MEM */
8684
}
8785

8886
void

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp