Update swf.cpp

should free `fat`
Merge pull request #239 from jiych/master

Update swf.cpp