From 6a4307a3703b0a19abe728266deea5381145dadb Mon Sep 17 00:00:00 2001 From: shankar Date: Mon, 5 Apr 2010 05:59:47 +0000 Subject: Fixing memory leaks git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@930802 13f79535-47bb-0310-9956-ffa450edef68 --- axiom/src/attachments/mime_parser.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'axiom/src/attachments/mime_parser.c') 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); -- cgit v1.1-32-gdbae