Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a157098

Browse files
committed
Fixed double pfree on opaque.
1 parent bf80f41 commit a157098

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/backend/catalog/indexing.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.4 1996/11/06 07:31:22 scrappy Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.5 1996/11/11 14:02:10 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -269,8 +269,6 @@ CatalogIndexFetchTuple(Relation heapRelation,
269269
}
270270

271271
index_endscan(sd);
272-
if (sd->opaque)
273-
pfree(sd->opaque);
274272
pfree(sd);
275273
return (tuple);
276274
}

0 commit comments

Comments
 (0)