Fixed cup rain memory leak