projects
/
framework
/
messaging
/
msg-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
befb99a
)
Fixed Prevent 35137
author
Seunghwan Lee
<sh.cat.lee@samsung.com>
Wed, 16 Jan 2013 05:32:17 +0000
(14:32 +0900)
committer
Seunghwan Lee
<sh.cat.lee@samsung.com>
Wed, 16 Jan 2013 05:32:17 +0000
(14:32 +0900)
plugin/mms_plugin/MmsPluginDecode.cpp
patch
|
blob
|
history
diff --git
a/plugin/mms_plugin/MmsPluginDecode.cpp
b/plugin/mms_plugin/MmsPluginDecode.cpp
index
7365738
..
dead5fd
100755
(executable)
--- a/
plugin/mms_plugin/MmsPluginDecode.cpp
+++ b/
plugin/mms_plugin/MmsPluginDecode.cpp
@@
-2219,6
+2219,16
@@
__RETURN:
return true;
__CATCH:
+ if (pMultipart) {
+ if (pMultipart->pBody) {
+ free(pMultipart->pBody);
+ pMultipart->pBody = NULL;
+ }
+
+ free(pMultipart);
+ pMultipart = NULL;
+ }
+
return false;
}