* Minor fix to prevent resource leak