Memory leak in dbgrids.pas with multiselect
Original Reporter info from Mantis: luca @olivluca
-
Reporter name: Luca Olivetti
Original Reporter info from Mantis: luca @olivluca
- Reporter name: Luca Olivetti
Description:
Due to the change from TBookmarkStr to TBookmark, using multiselect in a dbgrid causes a memory leak for each new selection.
The attached project shows the problem.
I will also attach a patch to solve the problem (there is still a single leak but it doesn't depend on how many multiple selections are made).
Mantis conversion info:
- Mantis ID: 24412
- OS: Windows
- OS Build: XP
- Platform: i386
- Version: 1.0.8
- Fixed in revision: 42912 (#c5f9e05d)
- Monitored by: » eara (Stratis Aravias)