projects
/
simple-launcher
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
when allocating an array delete it as array as well
[simple-launcher]
/
simple-launcher.cc
diff --git
a/simple-launcher.cc
b/simple-launcher.cc
index
1426f02
..
a609f4c
100644
(file)
--- a/
simple-launcher.cc
+++ b/
simple-launcher.cc
@@
-203,7
+203,7
@@
void SimpleLauncherApplet::loadConfig() {
addItem(myItems, buffer, (p != NULL && (*p == '1' || *p == 'y' || *p == 'Y')));
}
- delete buffer;
+ delete [] buffer;
}
}