Search found 1 match
- Tue Mar 16, 2010 4:19 pm
- Forum: dxflib Suggestions and Feedback
- Topic: Mismatching new[]/delete in DL_Extrusion
- Replies: 0
- Views: 26779
Mismatching new[]/delete in DL_Extrusion
Hello, There is a bug in DL_Extrusion class: its ctor allocates "direction" variable using new[] but its dtor deletes it instead of using the correct delete[]. Output courtesy of valgrind: ==15986== Mismatched free() / delete / delete [] ==15986== at 0x4C20E0D: operator delete(void*) (vg_replace_mal...