Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 91341 invoked from network); 24 Mar 2006 06:08:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Mar 2006 06:08:31 -0000 Received: (qmail 1504 invoked by uid 500); 24 Mar 2006 06:08:30 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 1424 invoked by uid 500); 24 Mar 2006 06:08:29 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 1413 invoked by uid 500); 24 Mar 2006 06:08:29 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 1410 invoked by uid 99); 24 Mar 2006 06:08:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Mar 2006 22:08:29 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 23 Mar 2006 22:08:29 -0800 Received: (qmail 91148 invoked by uid 65534); 24 Mar 2006 06:08:08 -0000 Message-ID: <20060324060808.91147.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r388395 - /webservices/axis2/trunk/c/modules/util/file.c Date: Fri, 24 Mar 2006 06:08:08 -0000 To: axis2-cvs@ws.apache.org From: samisa@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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) {