[swfmill] [patch] fix some bad manners.

INADA Naoki inada-n at klab.org
Tue Apr 8 01:13:15 PDT 2008


Please apply one more patch.

This patch fixes:
 - saveXML() leaks xmlDoc
 - using delete for memory allocated by new[]
 - using delete[] for xmlDocDumpFormatMemory output.
 - unnecessary check "if (x) delete x;" ("delete 0" is safe)

No more memory handling error in SWFFile, I think.

---
Sorry about my poor English.
INADA Naoki  <inada-n at klab.org>
                    KLab Inc.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: swffile.patch
Url: http://osflash.org/pipermail/swfmill_osflash.org/attachments/20080408/7fde735c/attachment.pl 


More information about the swfmill mailing list