Minor fix to clearing memory