Fixed double pfree on opaque.

This commit is contained in:
Bruce Momjian 1996-11-11 14:02:10 +00:00
parent bf80f41ec1
commit a157098f7c
1 changed files with 1 additions and 3 deletions

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.4 1996/11/06 07:31:22 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.5 1996/11/11 14:02:10 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -269,8 +269,6 @@ CatalogIndexFetchTuple(Relation heapRelation,
} }
index_endscan(sd); index_endscan(sd);
if (sd->opaque)
pfree(sd->opaque);
pfree(sd); pfree(sd);
return (tuple); return (tuple);
} }