projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6298b8d
)
Fixed [ 728819 ] memory leak in ipcbase.cpp
author
Julian Smart
<julian@anthemion.co.uk>
Mon, 28 Apr 2003 10:33:05 +0000
(10:33 +0000)
committer
Julian Smart
<julian@anthemion.co.uk>
Mon, 28 Apr 2003 10:33:05 +0000
(10:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20366
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/ipcbase.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/ipcbase.cpp
b/src/common/ipcbase.cpp
index cc4e0a8ef18ec524a4bd49aa832be313ad3849e3..7d74dca6ba7963af8337466a4d64bcc38a9d6690 100644
(file)
--- a/
src/common/ipcbase.cpp
+++ b/
src/common/ipcbase.cpp
@@
-77,7
+77,7
@@
wxChar *wxConnectionBase::GetBufferAtLeast( size_t bytes )
{ // need to resize buffer
if ( m_deletebufferwhendone )
{ // we're in charge of buffer, increase it
- if (
!
m_buffer )
+ if ( m_buffer )
delete m_buffer;
m_buffer = new wxChar[bytes];
m_buffersize = bytes;