git.samba.org
/
jelmer
/
openchange-proposed.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c341ba
)
Use array form of delete (error identified with libmapixx-attach test, using valgrind).
author
Brad Hards
<bradh@openchange.org>
Sun, 2 Aug 2009 02:44:04 +0000
(
02:44
+0000)
committer
Brad Hards
<bradh@openchange.org>
Sun, 2 Aug 2009 02:44:04 +0000
(
02:44
+0000)
libmapi++/attachment.h
patch
|
blob
|
history
diff --git
a/libmapi++/attachment.h
b/libmapi++/attachment.h
index ee283152cfff25c52bc1e099e6448291ddc7840e..3a972eec0e2e163bf2a2c0997006dfae3f4a986d 100644
(file)
--- a/
libmapi++/attachment.h
+++ b/
libmapi++/attachment.h
@@
-142,7
+142,7
@@
class attachment : public object {
*/
virtual ~attachment() throw()
{
- if (m_bin_data) delete m_bin_data;
+ if (m_bin_data) delete
[]
m_bin_data;
}
private: