Track string and dynamic-array buffer leaks in --debug builds. Strings are registered in _StringAddRef (on the 0→1 transition) and removed in _StringRelease; likewise for _DynArrayAddRef/Release. The leak report prints "string" or "dynarray" as the type tag instead of a class name. Sentinel-based type tags (GLTTagString=Pointer(2), GLTTagDynArray= Pointer(3)) distinguish buffer entries from class entries in the hash map. The report reads the correct refcount header offset for each type (12-byte string header, 8-byte dynarray header, CLASS_HDR for classes). LT_BUCKETS grows from 1024 to 4096 to accommodate the higher entry count when strings/dynarrays are tracked. Report wording changes from "object(s) not released" to "leak(s) not released". 2768 tests pass (2 new e2e tests), FIXPOINT_OK. |
||
|---|---|---|
| .. | ||
| src | ||
| Makefile | ||
| project.xml | ||