Memory leak in copy function
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
&LtPos;dynarray1>:= copy(&LtPos;dynarray2>,index,count) has memory leak, see program.
Heap dump by heaptrc unit
17 memory blocks allocated : 907/928
16 memory blocks freed : 891/912
1 unfreed memory blocks : 16
True heap size : 262144 (16 used in System startup)
True free heap : 262048
Should be : 262056
Call trace for block $080A12FC size 16
$0807A1F4 fpc_dynarray_copy, line 300 of .../rtl/inc/dynarr.inc
Additional information:
Reporter: Martin Schreiber
EMail:
Mantis conversion info:
- Mantis ID: 5332
- OS: Linux
- Version: 1.9.4
- Fixed in version: 1.9.5