[cp-patches] FYI: Small font fixes

Mark Wielaard mark at klomp.org
Thu Apr 12 15:24:23 UTC 2007

Hi Francis,

On Wed, 2007-04-11 at 17:10 -0400, Francis Kung wrote:
> While trying to fix some other font-related memory leaks, I came across 
> a few issues.  They don't plug the major leaks we're seeing, but are 
> still worth fixing...

Very nice. In combination with my FontPeer-leak-workaround this seems to
be pretty solid. In what cases are you now still seeing leaks?

> 2007-04-11  Francis Kung  <fkung at redhat.com>
> 	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
> 	(Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Avoid unneeded
> 	object reference.
> 	* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
> 	(Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): Unlock font.
> 	(Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Remove redundant checks.

Also added to the release branch.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20070412/3753caab/attachment-0001.pgp

More information about the Classpath-patches mailing list