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 2006/03/24 07:08:08 UTC
svn commit: r388395 - /webservices/axis2/trunk/c/modules/util/file.c
Author: samisa
Date: Thu Mar 23 22:08:06 2006
New Revision: 388395
URL: http://svn.apache.org/viewcvs?rev=388395&view=rev
Log:
Fixed more memory leaks
Modified:
webservices/axis2/trunk/c/modules/util/file.c
Modified: webservices/axis2/trunk/c/modules/util/file.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/file.c?rev=388395&r1=388394&r2=388395&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/file.c (original)
+++ webservices/axis2/trunk/c/modules/util/file.c Thu Mar 23 22:08:06 2006
@@ -130,6 +130,12 @@
AXIS2_FREE((*env)->allocator, file_impl->path);
file_impl->path = NULL;
}
+
+ if(file_impl->file.ops)
+ {
+ AXIS2_FREE((*env)->allocator, file_impl->file.ops);
+ file_impl->file.ops = NULL;
+ }
if(file_impl)
{