-rw-r--r-- | core/launcher/startmenu.cpp | 2 | ||||
-rw-r--r-- | core/launcher/systray.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/launcher/startmenu.cpp b/core/launcher/startmenu.cpp index 7373ea8..d9382d2 100644 --- a/core/launcher/startmenu.cpp +++ b/core/launcher/startmenu.cpp | |||
@@ -361,5 +361,5 @@ void StartMenu::loadApplets() | |||
361 | applets.insert ( applet-> id, new MenuApplet(*applet)); | 361 | applets.insert ( applet-> id, new MenuApplet(*applet)); |
362 | } | 362 | } |
363 | delete xapplets; | 363 | delete [] xapplets; |
364 | 364 | ||
365 | if ( sepId && ( launchMenu-> idAt ( launchMenu-> count ( ) - 1 ) == sepId )) { // no applets | 365 | if ( sepId && ( launchMenu-> idAt ( launchMenu-> count ( ) - 1 ) == sepId )) { // no applets |
diff --git a/core/launcher/systray.cpp b/core/launcher/systray.cpp index 4859e48..be55791 100644 --- a/core/launcher/systray.cpp +++ b/core/launcher/systray.cpp | |||
@@ -129,5 +129,5 @@ void SysTray::addApplets() | |||
129 | appletList.append(*applet); | 129 | appletList.append(*applet); |
130 | } | 130 | } |
131 | delete applets; | 131 | delete [] applets; |
132 | #else | 132 | #else |
133 | TaskbarApplet applet; | 133 | TaskbarApplet applet; |