diff options
author | Sebastian Geerken <devnull@localhost> | 2013-06-17 12:56:47 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-06-17 12:56:47 +0200 |
commit | 8ab35cfed90977fabbc7bb5ed8036f07cbaff313 (patch) | |
tree | 2d432dbc4a7ba2a79b3c20388148dfe0eea6d28e /dw/fltkimgbuf.cc | |
parent | 13837a13a756a929d51166c1e4b822a59537ab76 (diff) |
Cleanup.
Diffstat (limited to 'dw/fltkimgbuf.cc')
-rw-r--r-- | dw/fltkimgbuf.cc | 7 |
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); |