Search found 1 match
Search found 1 match • Page 1 of 1
- Tue Mar 16, 2010 4:19 pm
- Forum: dxflib Suggestions and Feedback
- Topic: Mismatching new/delete in DL_Extrusion
- Replies: 0
- Views: 13458
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...