Fixed action memory leak