mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Fixed double pfree on opaque.
This commit is contained in:
parent
bf80f41ec1
commit
a157098f7c
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user