Fixed memory leaks when StfsPackage throws exception
Fixed cleanup on destruct
Merge pull request #34 from SteffenL/stfs-fix-memory-leaks-on-exception

Fixed memory leaks when StfsPackage throws exception