memory leak solver