Remove unused and not completely correct code
Merge pull request #919 from lavalamp/delMem

Remove unused and not completely correct code