[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/ksim/monitors
From: Simon Hausmann <hausmann () kde ! org>
Date: 2003-08-27 11:55:26
[Download RAW message or body]
CVS commit by hausmann:
- valgrind: destruct the stream before closing the fd
M +2 -2 cpu/ksimcpu.cpp 1.30
M +2 -2 disk/ksimdisk.cpp 1.22
M +2 -2 net/ksimnet.cpp 1.75
--- kdeutils/ksim/monitors/net/ksimnet.cpp #1.74:1.75
@@ -133,8 +133,8 @@ NetView::~NetView()
{
#ifdef __linux__
+ delete m_procStream;
+
if (m_procFile)
fclose(m_procFile);
-
- delete m_procStream;
#endif
--- kdeutils/ksim/monitors/disk/ksimdisk.cpp #1.21:1.22
@@ -125,8 +125,8 @@ DiskView::~DiskView()
{
#ifdef Q_OS_LINUX
+ delete m_procStream;
+
if (m_procFile)
fclose(m_procFile);
-
- delete m_procStream;
#endif
}
--- kdeutils/ksim/monitors/cpu/ksimcpu.cpp #1.29:1.30
@@ -126,8 +126,8 @@ CpuView::~CpuView()
{
#ifdef Q_OS_LINUX
+ delete m_procStream;
+
if (m_procFile)
fclose(m_procFile);
-
- delete m_procStream;
#endif
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic