summaryrefslogtreecommitdiffabout
path: root/pwmanager
Side-by-side diff
Diffstat (limited to 'pwmanager') (more/less context) (show whitespace changes)
-rw-r--r--pwmanager/pwmanager/main.cpp2
-rw-r--r--pwmanager/pwmanager/pwm.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/main.cpp b/pwmanager/pwmanager/main.cpp
index 3f2d055..81e257f 100644
--- a/pwmanager/pwmanager/main.cpp
+++ b/pwmanager/pwmanager/main.cpp
@@ -206,3 +206,3 @@ int main(int argc, char *argv[])
a.exec();
-
+ KPimGlobalPrefs::instance()->writeConfig();
}
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp
index b7b5307..d92c90d 100644
--- a/pwmanager/pwmanager/pwm.cpp
+++ b/pwmanager/pwmanager/pwm.cpp
@@ -174,2 +174,3 @@ PwM::PwM(PwMInit *_init, PwMDoc *doc,
{
+ syncManager = 0;
virgin = !virginity;
@@ -201,2 +202,3 @@ PwM::~PwM()
delete view;
+ delete syncManager;
}