[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepimlibs/kcal/tests
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2009-01-01 10:32:37
Message-ID: 1230805957.724560.26470.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 904026 by bhards:

Fix leak.


 M  +1 -0      testkresult.cpp  


--- trunk/KDE/kdepimlibs/kcal/tests/testkresult.cpp #904025:904026
@@ -32,6 +32,7 @@
   QVERIFY( res1.isOk() == true );
   KResult *res2 = new KResult( KResult::Ok );
   QVERIFY( res1.isOk() == res2->isOk() );
+  delete res2;
 }
 
 void KResultTest::testCopy()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic