Commit c1b1033
committed
Fix fairygui memcpy leak
[MemoryTracker] ==== Memory Leaks (1) ====
[Leak] ptr=00000201C1A3CB40 size=16 thread=29652 type=NORMAL
0>D:\dev\simdsoft\axmol3\axmol\platform\win32\MemoryTracker.h(368): ((uld::MemoryTracker::_on_alloc)+0xba) 00007FF6980717BA
1>D:\dev\simdsoft\axmol3\axmol\platform\win32\MemoryTracker.h(195): ((uld::MemoryTracker::_hook_malloc_dbg)+0x66) 00007FF6980710A6
2>C:\Program Files (x86)\Windows Kits\10\Source\10.0.26100.0\ucrt\heap\malloc.cpp(27): ((malloc)+0x1f) 0000000401070ACF
3>D:\a\_work\1\s\src\vctools\crt\vcstartup\src\heap\new_scalar.cpp(36): ((operator new)+0x13) 00007FF699ECCFF3
4>D:\a\_work\1\s\src\vctools\crt\vcstartup\src\heap\new_array.cpp(30): ((operator new[])+0x13) 00007FF699ECE0A3
5>D:\dev\simdsoft\axmol3\extensions\fairygui\src\fairygui\UIPackage.cpp(18): ((fairygui::`dynamic initializer for 'emptyTextureData'')+0x10) 00007FF698039190
6>C:\Program Files (x86)\Windows Kits\10\Source\10.0.26100.0\ucrt\startup\initterm.cpp(21): ((_initterm)+0x49) 00000004010B6A99
7>D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(258): ((__scrt_common_main_seh)+0x8b) 00007FF699ECDE2B
8>D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(331): ((__scrt_common_main)+0xe) 00007FF699ECDD8E
9>D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_main.cpp(17): ((mainCRTStartup)+0xe) 00007FF699ECE07E
10>((BaseThreadInitThunk)+0x17) 00007FFE2318E8D7
11>((RtlUserThreadStart)+0x2c) 00007FFE2482C53C
[MemoryTracker] ==========================1 parent 43e3157 commit c1b1033
1 file changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
95 | 93 | | |
96 | 94 | | |
97 | 95 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 96 | + | |
| 97 | + | |
106 | 98 | | |
107 | 99 | | |
108 | 100 | | |
| |||
0 commit comments