Commit f8e02c19 authored by Bruce Momjian's avatar Bruce Momjian

Unallocate opaque.

parent a180738d
...@@ -215,6 +215,7 @@ gistendscan(IndexScanDesc s) ...@@ -215,6 +215,7 @@ gistendscan(IndexScanDesc s)
if (p != (GISTScanOpaque) NULL) { if (p != (GISTScanOpaque) NULL) {
gistfreestack(p->s_stack); gistfreestack(p->s_stack);
gistfreestack(p->s_markstk); gistfreestack(p->s_markstk);
pfree (s->opaque);
} }
gistdropscan(s); gistdropscan(s);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.7 1996/11/05 09:40:22 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashscan.c,v 1.8 1996/11/15 18:36:31 momjian Exp $
* *
* NOTES * NOTES
* Because we can be doing an index scan on a relation while we * Because we can be doing an index scan on a relation while we
...@@ -80,9 +80,7 @@ _hash_dropscan(IndexScanDesc scan) ...@@ -80,9 +80,7 @@ _hash_dropscan(IndexScanDesc scan)
else else
last->hashsl_next = chk->hashsl_next; last->hashsl_next = chk->hashsl_next;
#ifdef PERFECT_MEM
pfree (chk); pfree (chk);
#endif /* PERFECT_MEM */
} }
void void
......
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