changeset 29116:9918719cfcc0

8055204: Memory leak in jdk/src/windows/native/java/lang/java_props_md.c Reviewed-by: rriggs
author msheppar
date Wed, 25 Feb 2015 17:24:13 +0000
parents d7360c3b4055
children 7956b5dc0eac
files jdk/src/java.base/windows/native/libjava/java_props_md.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.base/windows/native/libjava/java_props_md.c	Wed Feb 25 17:05:56 2015 +0000
+++ b/jdk/src/java.base/windows/native/libjava/java_props_md.c	Wed Feb 25 17:24:13 2015 +0000
@@ -188,6 +188,7 @@
             free(elems[index]);
         }
     } else {
+        free(ret);
         ret = NULL;
     }