src/java.desktop/unix/native/common/awt/fontpath.c
changeset 51120 dccdf51b10dd
parent 47513 d5a1cde89944
child 58174 d349347d6b5f
child 58319 18e7ed2cd7d1
child 58678 9cf78a70fa4f
--- a/src/java.desktop/unix/native/common/awt/fontpath.c	Fri Jul 13 13:00:36 2018 -0700
+++ b/src/java.desktop/unix/native/common/awt/fontpath.c	Fri Jul 13 17:42:24 2018 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -265,7 +265,7 @@
     }
 
 
-    newFontPath = SAFE_SIZE_ARRAY_ALLOC(malloc, totalDirCount, sizeof ( char **) );
+    newFontPath = SAFE_SIZE_ARRAY_ALLOC(malloc, totalDirCount, sizeof(char *));
     /* if it fails free things and get out */
     if ( newFontPath == NULL ) {
       free ( ( void *) appendDirList );