From 83e5b31d58390c2763ad4db456277ab21f366502 Mon Sep 17 00:00:00 2001 From: Sergey Yanovich Date: Wed, 27 Feb 2008 22:06:32 +0200 Subject: [PATCH] [report] Release db after test --- report/test/aaReportTest.cpp | 1 + storage/account/test/aaBug133Test.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/report/test/aaReportTest.cpp b/report/test/aaReportTest.cpp index 63f2c51..40a3444 100644 --- a/report/test/aaReportTest.cpp +++ b/report/test/aaReportTest.cpp @@ -323,6 +323,7 @@ RAII::RAII(aaReportTest *t) RAII::~RAII() { + test->mFlows = nsnull; test->mSession = nsnull; test = nsnull; diff --git a/storage/account/test/aaBug133Test.cpp b/storage/account/test/aaBug133Test.cpp index 92e18a2..cfc8a1d 100644 --- a/storage/account/test/aaBug133Test.cpp +++ b/storage/account/test/aaBug133Test.cpp @@ -101,8 +101,7 @@ aaBug133Test::RAII::~RAII() return; manager->Backup("bug133.sqlite"); - rv = manager->Restore("storage.sqlite"); - if (NS_FAILED(rv)) return; + manager->Restore("storage.sqlite"); } /* Private methods */ -- 2.11.4.GIT