Declare function to free LavMemoryManagers