author | cniehaus <cniehaus> | 2002-11-21 10:41:31 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-11-21 10:41:31 (UTC) |
commit | a098d09ef14e4b41a0120dd431ef4777fd420042 (patch) (side-by-side diff) | |
tree | 0c428827e9f4b02c5c78d1037feb741d227edfc9 | |
parent | 354951c2751663e0a2f4fffe3fd3be71908df8b7 (diff) | |
download | opie-a098d09ef14e4b41a0120dd431ef4777fd420042.zip opie-a098d09ef14e4b41a0120dd431ef4777fd420042.tar.gz opie-a098d09ef14e4b41a0120dd431ef4777fd420042.tar.bz2 |
applied one of Simons patches.
-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() applets.insert ( applet-> id, new MenuApplet(*applet)); } - delete xapplets; + delete [] xapplets; 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() appletList.append(*applet); } - delete applets; + delete [] applets; #else TaskbarApplet applet; |