You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ma...@apache.org on 2008/06/04 12:27:47 UTC
svn commit: r663049 -
/webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c
Author: manjula
Date: Wed Jun 4 03:27:47 2008
New Revision: 663049
URL: http://svn.apache.org/viewvc?rev=663049&view=rev
Log:
Calling callabck_free.
Modified:
webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c
Modified: webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c?rev=663049&r1=663048&r2=663049&view=diff
==============================================================================
--- webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c (original)
+++ webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c Wed Jun 4 03:27:47 2008
@@ -211,6 +211,20 @@
/* This map is passed on to SOAP builder, and SOAP builder take over the
ownership of the map */
+ if(mime_parser->caching_callback)
+ {
+ axutil_param_t *param = NULL;
+ param = mime_parser->caching_callback->param;
+
+ AXIOM_CACHING_CALLBACK_FREE(mime_parser->caching_callback, env);
+ mime_parser->caching_callback = NULL;
+
+ if(param)
+ {
+ axutil_param_free(param, env);
+ param = NULL;
+ }
+ }
if (mime_parser)
{