Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 75216 invoked from network); 17 Apr 2010 16:07:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Apr 2010 16:07:05 -0000 Received: (qmail 97560 invoked by uid 500); 17 Apr 2010 16:07:05 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 97536 invoked by uid 500); 17 Apr 2010 16:07:05 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 97529 invoked by uid 99); 17 Apr 2010 16:07:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Apr 2010 16:07:05 +0000 X-ASF-Spam-Status: No, hits=-1624.2 required=10.0 tests=ALL_TRUSTED,AWL 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; Sat, 17 Apr 2010 16:07:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C20D72388978; Sat, 17 Apr 2010 16:06:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r935196 - /harmony/enhanced/java/trunk/classlib/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c Date: Sat, 17 Apr 2010 16:06:22 -0000 To: commits@harmony.apache.org From: hindessm@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100417160622.C20D72388978@eris.apache.org> Author: hindessm Date: Sat Apr 17 16:06:22 2010 New Revision: 935196 URL: http://svn.apache.org/viewvc?rev=935196&view=rev Log: Applying patches from "[#HARMONY-6501] [classlib][awt] Memory leak bug in LinuxNativeFont.c(507)". Modified: harmony/enhanced/java/trunk/classlib/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c Modified: harmony/enhanced/java/trunk/classlib/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c URL: http://svn.apache.org/viewvc/harmony/enhanced/java/trunk/classlib/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c?rev=935196&r1=935195&r2=935196&view=diff ============================================================================== --- harmony/enhanced/java/trunk/classlib/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c (original) +++ harmony/enhanced/java/trunk/classlib/modules/awt/src/main/native/linuxfont/unix/LinuxNativeFont.c Sat Apr 17 16:06:22 2010 @@ -504,6 +504,7 @@ JNIEXPORT jlong JNICALL if (fid == 0) { (*env)->ExceptionDescribe(env); (*env)->ExceptionClear(env); + free(buffer); return (jlong)(IDATA)NULL; } scr = (*env)->GetIntField(env, linuxFont, fid);