projects
/
simple-launcher
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30a9698
)
when allocating an array delete it as array as well
author
mishas
<mikhail.sobolev@gmail.com>
Mon, 16 Apr 2007 11:29:58 +0000
(11:29 +0000)
committer
mishas
<mikhail.sobolev@gmail.com>
Mon, 16 Apr 2007 11:29:58 +0000
(11:29 +0000)
git-svn-id: file:///svnroot/simple-launcher/trunk@189
3ba93dab
-e023-0410-b42a-
de7732cf370a
simple-launcher.cc
patch
|
blob
|
history
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;
}
}