summaryrefslogtreecommitdiff
path: root/libraries/OpenSceneGraph/giflib.patch
blob: 8bb72a8d3b606d327a2a1c4b65a134242505efe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -wbBur OpenSceneGraph-3.2.0/src/osgPlugins/gif/ReaderWriterGIF.cpp OpenSceneGraph-3.2.0.q/src/osgPlugins/gif/ReaderWriterGIF.cpp
--- OpenSceneGraph-3.2.0/src/osgPlugins/gif/ReaderWriterGIF.cpp	2013-06-03 18:04:02.000000000 +0400
+++ OpenSceneGraph-3.2.0.q/src/osgPlugins/gif/ReaderWriterGIF.cpp	2014-05-29 19:00:40.163985068 +0400
@@ -561,7 +561,7 @@
     *width_ret = giffile->SWidth;
     *height_ret = giffile->SHeight;
     *numComponents_ret = 4;
-    DGifCloseFile(giffile);
+    DGifCloseFile(giffile, NULL);
     return buffer;
 }