You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2007/06/21 10:04:52 UTC
svn commit: r549421 - /webservices/axis2/trunk/c/util/src/url.c
Author: sahan
Date: Thu Jun 21 01:04:51 2007
New Revision: 549421
URL: http://svn.apache.org/viewvc?view=rev&rev=549421
Log:
Fixing a double free
Modified:
webservices/axis2/trunk/c/util/src/url.c
Modified: webservices/axis2/trunk/c/util/src/url.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/url.c?view=diff&rev=549421&r1=549420&r2=549421
==============================================================================
--- webservices/axis2/trunk/c/util/src/url.c (original)
+++ webservices/axis2/trunk/c/util/src/url.c Thu Jun 21 01:04:51 2007
@@ -223,14 +223,17 @@
if (url->protocol)
{
AXIS2_FREE(env->allocator, url->protocol);
+ url->protocol = NULL;
}
if (url->server)
{
AXIS2_FREE(env->allocator, url->server);
+ url->server = NULL;
}
if (url->path)
{
AXIS2_FREE(env->allocator, url->path);
+ url->path = NULL;
}
url->port = -1;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org