summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-05 20:12:17 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-05 20:12:17 +0200
commit36430028f5b4a638323386f3b0e1454566476f5a (patch)
tree7cd4cee5db8a4f3e4c751713c8f2a4043930689c /redhat/applications/kcmautostart/kcmautostart-3.5.13-fix_crash_on_exit.patch
parentb679e3718923d1e4f5a5a433346f39bf10ef0225 (diff)
downloadtde-packaging-36430028f5b4a638323386f3b0e1454566476f5a.tar.gz
tde-packaging-36430028f5b4a638323386f3b0e1454566476f5a.zip
RPM Packaging: add kcmautostart
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;
++ }
+ }
+ };
+