..more giflib fallout </me gnashes teeth>

This commit is contained in:
sthen 2015-03-28 22:10:04 +00:00
parent 4895e5a16f
commit 01d1bb8846

View File

@ -1,9 +1,18 @@
$OpenBSD: patch-libbase_GnashImageGif_cpp,v 1.1 2013/09/25 07:58:47 sthen Exp $
$OpenBSD: patch-libbase_GnashImageGif_cpp,v 1.2 2015/03/28 22:10:04 sthen Exp $
giflib 5.0+
--- libbase/GnashImageGif.cpp.orig Thu Sep 19 06:51:00 2013
+++ libbase/GnashImageGif.cpp Thu Sep 19 06:51:07 2013
--- libbase/GnashImageGif.cpp.orig Thu Jan 19 19:17:48 2012
+++ libbase/GnashImageGif.cpp Sat Mar 28 22:09:28 2015
@@ -121,7 +121,7 @@ GifInput::GifInput(boost::shared_ptr<IOChannel> in)
GifInput::~GifInput()
{
// Clean up allocated data.
- DGifCloseFile(_gif);
+ DGifCloseFile(_gif, NULL);
}
size_t
@@ -269,7 +269,7 @@ GifInput::processRecord(GifRecordType record)
void
GifInput::read()