8022532: [parfait] Potential memory leak in gtk2_interface.c
authoralexsch
Wed, 07 Aug 2013 18:32:03 +0400
changeset 19177 73eb8134c0d2
parent 19176 208ff865828c
child 19178 81fa1a77bf7b
8022532: [parfait] Potential memory leak in gtk2_interface.c Reviewed-by: art, serb
jdk/src/solaris/native/sun/awt/gtk2_interface.c
--- a/jdk/src/solaris/native/sun/awt/gtk2_interface.c	Tue Aug 06 17:29:54 2013 +0400
+++ b/jdk/src/solaris/native/sun/awt/gtk2_interface.c	Wed Aug 07 18:32:03 2013 +0400
@@ -794,6 +794,7 @@
             }
             putenv (new_env);
             free (new_env);
+            free (tmp_env);
         }
     }