projects
/
platform
/
core
/
appfw
/
message-port.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c0f19f
)
Fix a prevent issue
author
Sunwook Bae
<sunwook45.bae@samsung.com>
Tue, 4 Jun 2013 01:38:18 +0000
(10:38 +0900)
committer
Sunwook Bae
<sunwook45.bae@samsung.com>
Wed, 5 Jun 2013 06:12:21 +0000
(15:12 +0900)
Change-Id: I519ff000a0c57cc496069a8cb41b4fdce8f6d14f
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
src/MessagePortProxy.cpp
patch
|
blob
|
history
diff --git
a/src/MessagePortProxy.cpp
b/src/MessagePortProxy.cpp
index
8954eef
..
69977fd
100644
(file)
--- a/
src/MessagePortProxy.cpp
+++ b/
src/MessagePortProxy.cpp
@@
-384,6
+384,8
@@
MessagePortProxy::SendMessageInternal(const BundleBuffer& metadata, const Bundle
if (len > MAX_MESSAGE_SIZE)
{
_LOGE("The size of message (%d) has exceeded the maximum limit.", len);
+
+ delete pMsg;
return MESSAGEPORT_ERROR_MAX_EXCEEDED;
}