Also close the input file in case of success. Fixes CID 935.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27694 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz 2008-09-22 18:08:00 +00:00
parent e2891a435a
commit dde69daea3

View File

@ -213,6 +213,7 @@ SudokuView::SetTo(entry_ref& ref)
_PushUndo();
status = fField->SetTo(_BaseCharacter(), buffer);
Invalidate();
fclose(file);
return status;
}