author | prr |
Fri, 14 Jan 2011 11:05:59 -0800 | |
changeset 7936 | 4d5f799d3734 |
parent 7935 | 0f8cd2f2e564 |
child 7937 | 3de0a7f48b19 |
jdk/src/share/native/sun/font/FontInstanceAdapter.cpp | file | annotate | diff | comparison | revisions |
--- a/jdk/src/share/native/sun/font/FontInstanceAdapter.cpp Thu Jan 13 14:11:56 2011 -0800 +++ b/jdk/src/share/native/sun/font/FontInstanceAdapter.cpp Fri Jan 14 11:05:59 2011 -0800 @@ -224,6 +224,7 @@ if (pt != NULL) { advance.fX = env->GetFloatField(pt, sunFontIDs.xFID); advance.fY = env->GetFloatField(pt, sunFontIDs.yFID); + env->DeleteLocalRef(pt); } }