Sysutils strnew/strdispose fails
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
When you use the objects's newstr/disposestr functions it works correctly:
Heap dump by heaptrc unit
7 memory blocks allocated : 923/936
7 memory blocks freed : 923/936
0 unfreed memory blocks : 0
But when you use the sysutils's newstr/disposestr functions it fails:
An unhandled exception occurred at $400600EC :
EAccessViolation : Access violation
Heap dump by heaptrc unit
14 memory blocks allocated : 1082/1120
8 memory blocks freed : 944/960
6 unfreed memory blocks : 138
Additional information:
Reporter: Antonio Marti
EMail: windowze2000 at yahoo dot es
Mantis conversion info:
- Mantis ID: 5695
- OS: Linux
- Version: 1.9.8
- Fixed in version: 1.9.9