axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manj...@apache.org
Subject svn commit: r663049 - /webservices/axis2/branches/c/post_1_4_mtom/c/axiom/src/attachments/mime_parser.c
Date Wed, 04 Jun 2008 10:27:47 GMT
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)
     {



Mime
View raw message