diff --git a/src/windows/native/java/lang/java_props_md.c b/src/windows/native/java/lang/java_props_md.c index 8bf371854d4a6293826af5d8f874ec026ab54b90..dc1e00fe849d309df09d7db4e47f4e5304f0147f 100644 --- a/src/windows/native/java/lang/java_props_md.c +++ b/src/windows/native/java/lang/java_props_md.c @@ -188,6 +188,7 @@ getJavaIDFromLangID(LANGID langID) free(elems[index]); } } else { + free(ret); ret = NULL; }