7176447: Lunix/Solaris fontpath.c : double free(family)
authorprr
Tue, 26 Jun 2012 09:53:27 -0700
changeset 13139 917a5a5434a9
parent 13138 9a70fa2cc59c
child 13140 5c57c463f224
7176447: Lunix/Solaris fontpath.c : double free(family) Reviewed-by: igor, flar
jdk/src/solaris/native/sun/awt/fontpath.c
--- a/jdk/src/solaris/native/sun/awt/fontpath.c	Tue Jun 26 09:38:25 2012 -0700
+++ b/jdk/src/solaris/native/sun/awt/fontpath.c	Tue Jun 26 09:53:27 2012 -0700
@@ -1240,7 +1240,7 @@
                                             FC_CHARSET, 0, &charset);
             if (result != FcResultMatch) {
                 free(family);
-                free(family);
+                free(fullname);
                 free(styleStr);
                 free(file);
                 (*FcPatternDestroy)(pattern);