PiRSquared17 / awd

Automatically exported from code.google.com/p/awd
Apache License 2.0
0 stars 0 forks source link

block destructor crash #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add any kind of block to a document (AWD)
2. call destructor on document pointer

What is the expected output? What do you see instead?
block destructor function crash.

Please provide any additional information below.

need to switch 2 lines in block destructor function :
http://code.google.com/p/awd/source/browse/sdks/cpp-libawd/src/block.cc#90

delete cur->block;
// then 
delete cur;

Original issue reported on code.google.com by pierre.l...@gmail.com on 7 Nov 2011 at 12:11

GoogleCodeExporter commented 9 years ago
Thank you very much for filing this issue. Will look at this and fix it ASAP!

Original comment by bengtric...@gmail.com on 7 Nov 2011 at 12:14

GoogleCodeExporter commented 9 years ago
Sorry for the delay. I have now fixed this issue as part of the work on the 3ds 
Max exporter. See recent commit. Fixed and verified.

Original comment by bengtric...@gmail.com on 19 Apr 2012 at 5:21