aboutsummaryrefslogtreecommitdiff
path: root/graphics/exact-image/files/patch-codecs__gif.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/exact-image/files/patch-codecs__gif.cc')
-rw-r--r--graphics/exact-image/files/patch-codecs__gif.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/exact-image/files/patch-codecs__gif.cc b/graphics/exact-image/files/patch-codecs__gif.cc
new file mode 100644
index 000000000000..6f1b3d72a396
--- /dev/null
+++ b/graphics/exact-image/files/patch-codecs__gif.cc
@@ -0,0 +1,11 @@
+--- codecs/gif.cc.orig 2009-07-02 18:34:16.000000000 -0400
++++ codecs/gif.cc 2009-07-02 18:38:40.000000000 -0400
+@@ -232,7 +232,7 @@
+ }
+ free (OutputBuffer);
+
+- delete (RedBuffer); delete (GreenBuffer); delete (BlueBuffer);
++ delete[] RedBuffer; delete[] GreenBuffer; delete[] BlueBuffer;
+
+ EGifCloseFile(GifFile);
+ return true;