Fix small memory leak