# HG changeset patch # User serb # Date 1408632492 -14400 # Node ID cc3d1aa1ca6b2b6ced39a52fe2ae62226aad72d6 # Parent 2d04e6c7ed681995762db43ef8aeec7a3cf5f385 8054801: Memory leak in jdk/src/windows/native/sun/windows/awt_InputMethod.cpp Reviewed-by: alexsch, prr diff -r 2d04e6c7ed68 -r cc3d1aa1ca6b jdk/src/java.desktop/windows/native/libawt/sun/windows/awt_InputMethod.cpp --- a/jdk/src/java.desktop/windows/native/libawt/sun/windows/awt_InputMethod.cpp Tue Aug 19 14:38:25 2014 -0700 +++ b/jdk/src/java.desktop/windows/native/libawt/sun/windows/awt_InputMethod.cpp Thu Aug 21 18:48:12 2014 +0400 @@ -482,6 +482,7 @@ for (current = 0; current < destIndex; current++) { if (strcmp(javaLocaleNames[current], srcLocaleName) == 0) { // duplicated. ignore this HKL + free((void *)srcLocaleName); break; } }