Start trying to run libswd on the production platform
Fix memory leak