|
8 | 8 | * |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $PostgreSQL: pgsql/src/backend/access/rtree/rtree.c,v 1.86 2005/01/18 23:25:47 neilc Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/backend/access/rtree/rtree.c,v 1.87 2005/01/24 02:47:26 tgl Exp $ |
12 | 12 | * |
13 | 13 | *------------------------------------------------------------------------- |
14 | 14 | */ |
@@ -591,6 +591,8 @@ rtdosplit(Relation r, |
591 | 591 | rtup= (IndexTuple)index_formtuple(tupDesc, |
592 | 592 | &(v.spl_rdatum),isnull); |
593 | 593 | pfree(isnull); |
| 594 | +pfree(DatumGetPointer(v.spl_ldatum)); |
| 595 | +pfree(DatumGetPointer(v.spl_rdatum)); |
594 | 596 |
|
595 | 597 | /* set pointers to new child pages in the internal index tuples */ |
596 | 598 | ItemPointerSet(&(ltup->t_tid),lbknum,1); |
|