[PC-BSD Commits] r15624 - pcbsd/current/src-qt4/pc-pfmanager/config

svn at pcbsd.org svn at pcbsd.org
Tue Feb 28 10:32:13 PST 2012


Author: kris
Date: 2012-02-28 18:32:13 +0000 (Tue, 28 Feb 2012)
New Revision: 15624

Modified:
   pcbsd/current/src-qt4/pc-pfmanager/config/interfaces.cpp
Log:

Close resource leak



Modified: pcbsd/current/src-qt4/pc-pfmanager/config/interfaces.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-pfmanager/config/interfaces.cpp	2012-02-28 18:30:59 UTC (rev 15623)
+++ pcbsd/current/src-qt4/pc-pfmanager/config/interfaces.cpp	2012-02-28 18:32:13 UTC (rev 15624)
@@ -49,5 +49,6 @@
             }
             else ++pos;
         }
+      pclose(file);
     }
 }



More information about the Commits mailing list