From kato-commits-return-879-apmail-incubator-kato-commits-archive=incubator.apache.org@incubator.apache.org Tue Nov 24 18:16:33 2009 Return-Path: Delivered-To: apmail-incubator-kato-commits-archive@minotaur.apache.org Received: (qmail 52620 invoked from network); 24 Nov 2009 18:16:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Nov 2009 18:16:33 -0000 Received: (qmail 37474 invoked by uid 500); 24 Nov 2009 18:16:33 -0000 Delivered-To: apmail-incubator-kato-commits-archive@incubator.apache.org Received: (qmail 37459 invoked by uid 500); 24 Nov 2009 18:16:33 -0000 Mailing-List: contact kato-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kato-dev@incubator.apache.org Delivered-To: mailing list kato-commits@incubator.apache.org Received: (qmail 37449 invoked by uid 99); 24 Nov 2009 18:16:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 18:16:32 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Nov 2009 18:16:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3C83A238899C; Tue, 24 Nov 2009 18:16:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r883805 - /incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c Date: Tue, 24 Nov 2009 18:16:10 -0000 To: kato-commits@incubator.apache.org From: monteith@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091124181610.3C83A238899C@eris.apache.org> Author: monteith Date: Tue Nov 24 18:16:09 2009 New Revision: 883805 URL: http://svn.apache.org/viewvc?rev=883805&view=rev Log: Fix malloc double free problem in cjvmti agent. Modified: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c Modified: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c?rev=883805&r1=883804&r2=883805&view=diff ============================================================================== --- incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c (original) +++ incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c Tue Nov 24 18:16:09 2009 @@ -250,6 +250,7 @@ if (fp!=NULL)fclose(fp); fp = NULL; fclose(variableFile); + variableFile = NULL; printf("Detag/deallocate\n"); while (Q_dequeue(&deTagObj, toDetag)!= 0){