CID 1697. The FILE handle was leaked.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38099 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2010-08-14 16:24:48 +00:00
parent 867b56657b
commit 2323e7fa92

View File

@ -575,6 +575,8 @@ Keymap::SaveAsSource(const char* name)
_SaveSourceText(file);
#endif
fclose(file);
return B_OK;
}