Free up end-of-module memory