axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manj...@apache.org
Subject svn commit: r570008 - /webservices/axis2/trunk/c/util/src/dll_desc.c
Date Mon, 27 Aug 2007 05:52:03 GMT
Author: manjula
Date: Sun Aug 26 22:52:02 2007
New Revision: 570008

URL: http://svn.apache.org/viewvc?rev=570008&view=rev
Log:
Assigned some variables to NULL after freeing.

Modified:
    webservices/axis2/trunk/c/util/src/dll_desc.c

Modified: webservices/axis2/trunk/c/util/src/dll_desc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/dll_desc.c?rev=570008&r1=570007&r2=570008&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/dll_desc.c (original)
+++ webservices/axis2/trunk/c/util/src/dll_desc.c Sun Aug 26 22:52:02 2007
@@ -76,11 +76,13 @@
     if (dll_desc->dll_name)
     {
         AXIS2_FREE(env->allocator, dll_desc->dll_name);
+        dll_desc->dll_name = NULL;
     }
 
     if (dll_desc->path_qualified_dll_name)
     {
         AXIS2_FREE(env->allocator, dll_desc->path_qualified_dll_name);
+        dll_desc->path_qualified_dll_name = NULL;
     }
 
     if (dll_desc)
@@ -113,6 +115,7 @@
     if (dll_desc->path_qualified_dll_name)
     {
         AXIS2_FREE(env->allocator, dll_desc->path_qualified_dll_name);
+        dll_desc->path_qualified_dll_name = NULL;
     }
 
     dll_desc->path_qualified_dll_name = axutil_strdup(env, name);



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message