From b9e1ae0fee25bd1e794685901f07bf1d64b7a0b6 Mon Sep 17 00:00:00 2001 From: Seunghwan Lee Date: Wed, 16 Jan 2013 14:32:17 +0900 Subject: [PATCH] Fixed Prevent 35137 --- plugin/mms_plugin/MmsPluginDecode.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugin/mms_plugin/MmsPluginDecode.cpp b/plugin/mms_plugin/MmsPluginDecode.cpp index 7365738..dead5fd 100755 --- 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; } -- 2.7.4