#11 Memleak fix

open
nobody
None
5
2006-02-11
2006-02-11
Anonymous
No

--- ksmoothdock/src/confmenudialog.cpp~ 2005-01-17
03:10:15.000000000 +0100
+++ ksmoothdock/src/confmenudialog.cpp 2006-02-11
09:06:31.000000000 +0100
@@ -306,7 +306,7 @@
}

void ConfMenuDialog::btOpenMenuFolder_clicked() {
- KProcess *proc = new KProcess;
+ KProcess *proc = new KProcess(this);
*proc << "konqueror" << menuPath;
proc->start(KProcess::DontCare);
}

Discussion