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 2007/09/05 06:28:28 UTC
svn commit: r572871 -
/webservices/axis2/trunk/c/src/core/engine/req_uri_disp.c
Author: manjula
Date: Tue Sep 4 21:28:27 2007
New Revision: 572871
URL: http://svn.apache.org/viewvc?rev=572871&view=rev
Log:
Fixing the memory leak when request url contains the
operation.
Modified:
webservices/axis2/trunk/c/src/core/engine/req_uri_disp.c
Modified: webservices/axis2/trunk/c/src/core/engine/req_uri_disp.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/engine/req_uri_disp.c?rev=572871&r1=572870&r2=572871&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/engine/req_uri_disp.c (original)
+++ webservices/axis2/trunk/c/src/core/engine/req_uri_disp.c Tue Sep 4 21:28:27 2007
@@ -126,6 +126,12 @@
}
}
AXIS2_FREE(env->allocator, url_tokens[0]);
+
+ if(url_tokens[1])
+ {
+ AXIS2_FREE(env->allocator, url_tokens[1]);
+ }
+
}
AXIS2_FREE(env->allocator, url_tokens);
url_tokens = NULL;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org