--- old/src/java.desktop/unix/native/common/awt/fontpath.c 2016-12-21 12:18:02.292027000 +0530 +++ new/src/java.desktop/unix/native/common/awt/fontpath.c 2016-12-21 12:18:02.048027000 +0530 @@ -269,6 +269,7 @@ /* if it fails free things and get out */ if ( newFontPath == NULL ) { free ( ( void *) appendDirList ); + free((void*) newFontPath); XFreeFontPath ( origFontPath ); return; }