add missing memory method
Merge pull request #1 from ianmays/master

Missing memory method