From 5b7640a34adc983647ea3e8f543d0905b68f17a4 Mon Sep 17 00:00:00 2001 From: msheppar Date: Wed, 25 Feb 2015 17:24:13 +0000 Subject: [PATCH] 8055204: Memory leak in jdk/src/windows/native/java/lang/java_props_md.c Reviewed-by: rriggs --- src/windows/native/java/lang/java_props_md.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/windows/native/java/lang/java_props_md.c b/src/windows/native/java/lang/java_props_md.c index 8bf371854..dc1e00fe8 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; } -- GitLab