aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkimgbuf.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-06-17 12:56:47 +0200
committerSebastian Geerken <devnull@localhost>2013-06-17 12:56:47 +0200
commit8ab35cfed90977fabbc7bb5ed8036f07cbaff313 (patch)
tree2d432dbc4a7ba2a79b3c20388148dfe0eea6d28e /dw/fltkimgbuf.cc
parent13837a13a756a929d51166c1e4b822a59537ab76 (diff)
Cleanup.
Diffstat (limited to 'dw/fltkimgbuf.cc')
-rw-r--r--dw/fltkimgbuf.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/dw/fltkimgbuf.cc b/dw/fltkimgbuf.cc
index 7f6e2b33..d1f1c8e4 100644
--- a/dw/fltkimgbuf.cc
+++ b/dw/fltkimgbuf.cc
@@ -69,6 +69,13 @@ bool FltkImgbuf::excessiveImageDimensions (int width, int height)
width > IMAGE_MAX_AREA / height;
}
+void FltkImgbuf::freeall ()
+{
+ _MSG("Deleting gammaCorrectionTables\n");
+ delete gammaCorrectionTables;
+ gammaCorrectionTables = NULL;
+}
+
FltkImgbuf::FltkImgbuf (Type type, int width, int height, double gamma)
{
_MSG("FltkImgbuf: new root %p\n", this);