summaryrefslogtreecommitdiffstats
path: root/axiom/src/attachments
diff options
context:
space:
mode:
authorGravatar shankar2010-04-05 05:59:47 +0000
committerGravatar shankar2010-04-05 05:59:47 +0000
commit6a4307a3703b0a19abe728266deea5381145dadb (patch)
tree75b7e9cee6ec090bf111eea892b1cab77d0fa92a /axiom/src/attachments
parentafe578cd8894b9a6cd6c6b65e552448536f02dce (diff)
downloadaxis2c-6a4307a3703b0a19abe728266deea5381145dadb.tar.gz
axis2c-6a4307a3703b0a19abe728266deea5381145dadb.tar.bz2
Fixing memory leaks
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@930802 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'axiom/src/attachments')
-rw-r--r--axiom/src/attachments/mime_parser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/axiom/src/attachments/mime_parser.c b/axiom/src/attachments/mime_parser.c
index f36286c..9da9c9f 100644
--- a/axiom/src/attachments/mime_parser.c
+++ b/axiom/src/attachments/mime_parser.c
@@ -297,6 +297,11 @@ axiom_mime_parser_free(
mime_parser->len_array = NULL;
}
+ if(mime_parser->mime_boundary)
+ {
+ AXIS2_FREE(env->allocator, mime_parser->mime_boundary);
+ }
+
if(mime_parser)
{
AXIS2_FREE(env->allocator, mime_parser);