changeset 9484:f8ed88f5ed87

8022532: [parfait] Potential memory leak in gtk2_interface.c Reviewed-by: art, serb
author alexsch
date Wed, 07 Aug 2013 18:32:03 +0400
parents 27d1bdf2f7d9
children 7706a622d35f
files src/solaris/native/sun/awt/gtk2_interface.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/native/sun/awt/gtk2_interface.c	Tue Aug 06 17:29:54 2013 +0400
+++ b/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);
         }
     }