add mem_free params to various components
Merge branch 'master' of https://github.com/jorvis/ergatis