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:
parent
e2891a435a
commit
dde69daea3
@ -213,6 +213,7 @@ SudokuView::SetTo(entry_ref& ref)
|
||||
_PushUndo();
|
||||
status = fField->SetTo(_BaseCharacter(), buffer);
|
||||
Invalidate();
|
||||
fclose(file);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user