java-1.8.0-openjdk/java-1.8.0-openjdk-giflib5.1.patch
2015-06-05 13:50:29 +03:00

12 lines
396 B
Diff

--- jdk8/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c.orig 2015-05-20 10:39:35.248345148 +0100
+++ jdk8/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gif.c 2015-05-20 10:40:00.157795239 +0100
@@ -310,7 +310,8 @@
free(pBitmapBits);
free(pOldBitmapBits);
- DGifCloseFile(gif);
+ int errorCode = 0;
+ DGifCloseFile(gif, &errorCode);
return 1;
}