[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/ksysguard/ksysguardd/Linux
From: John Tapsell <john.tapsell () kdemail ! net>
Date: 2009-08-25 22:24:54
Message-ID: 1251239094.997501.15512.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1015587 by johnflux:
fix file descriptor leak, we had forgotten to close a file
M +2 -0 stat.c
--- trunk/KDE/kdebase/workspace/ksysguard/ksysguardd/Linux/stat.c #1015586:1015587
@@ -433,6 +433,7 @@
OldPageOut = v1;
}
}
+ fclose(stat);
/* save exact time interval between this and the last read of /proc/stat */
timeInterval = currSampling.tv_sec - lastSampling.tv_sec +
@@ -440,6 +441,7 @@
lastSampling = currSampling;
cleanup24DiskList();
+
}
/*
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic