You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using new PointF[size] with delete ptr, but shouldn't it be delete[] ptr ?
Here is what I am seeing, I have anonymized using ????
==2191027==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new [] vs operator delete) on 0x61800013e480
SCARINESS: 10 (alloc-dealloc-mismatch)
#0 0x7f599ec100b0 in operator delete(void*) (????)
#1 0x7f597d6b0187 in draw_line(DrawObject*, _object*) aggdraw-1.1-64bits/aggdraw.cxx:808
...
0x61800013e480 is located 0 bytes inside of 808-byte region [0x61800013e480,0x61800013e7a8)
allocated by thread T0 here:
#0 0x7f599ec0f4e8 in operator new[](unsigned long) (????)
#1 0x7f597d6acea1 in getpoints(_object*, int*) aggdraw-1.1-64bits/aggdraw.cxx:582
#2 0x7f597d6b004f in draw_line(DrawObject*, _object*) aggdraw-1.1-64bits/aggdraw.cxx:801
The text was updated successfully, but these errors were encountered:
fried
changed the title
ASAN issues
ASAN issues: Sized new mismatch with unsized delete
Dec 13, 2018
Using new PointF[size] with delete ptr, but shouldn't it be delete[] ptr ?
Here is what I am seeing, I have anonymized using ????
The text was updated successfully, but these errors were encountered: