summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch')
-rw-r--r--redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch b/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch
new file mode 100644
index 000000000..da0940d89
--- /dev/null
+++ b/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch
@@ -0,0 +1,14 @@
+--- kcmautostart/src/autostart.cpp.crash_on_exit 2013-05-10 23:35:31.443410887 +0200
++++ kcmautostart/src/autostart.cpp 2013-05-10 23:46:31.852926622 +0200
+@@ -102,7 +102,10 @@
+ if (bisDesktop) service = new KService( fileName.path() );
+ }
+ ~desktop() {
+- delete service;
++ if(service) {
++ service = NULL;
++ delete service;
++ }
+ }
+ };
+