patch TCustomBufDataset.InternalClose clearing FCurrentIndexDef fixing crash
Original Reporter info from Mantis: Mattias @lazidealist
-
Reporter name: Mattias Gaertner
Original Reporter info from Mantis: Mattias @lazidealist
- Reporter name: Mattias Gaertner
Description:
When closing the dataset, the FCurrentIndexDef is not cleared, resulting in a dangling pointer and crash in TCustomBufDataset.GetIndexFieldNames.
Here is a patch.
Mantis conversion info:
- Mantis ID: 38509
- Build: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 48711 (#600a5dd1)
- Target version: 3.2.2