[haiku-commits] r38099 - haiku/trunk/src/bin/keymap

Author: jackburton
Date: 2010-08-14 18:24:48 +0200 (Sat, 14 Aug 2010)
New Revision: 38099
Changeset: http://dev.haiku-os.org/changeset/38099

Modified:
   haiku/trunk/src/bin/keymap/Keymap.cpp
Log:
CID 1697. The FILE handle was leaked.


Modified: haiku/trunk/src/bin/keymap/Keymap.cpp
===================================================================
--- haiku/trunk/src/bin/keymap/Keymap.cpp       2010-08-14 11:58:02 UTC (rev 
38098)
+++ haiku/trunk/src/bin/keymap/Keymap.cpp       2010-08-14 16:24:48 UTC (rev 
38099)
@@ -575,6 +575,8 @@
        _SaveSourceText(file);
 #endif
 
+       fclose(file);
+
        return B_OK;
 }
 


Other related posts:

  • » [haiku-commits] r38099 - haiku/trunk/src/bin/keymap - stefano . ceccherini