diff options
Diffstat (limited to 'src/Fl_Double_Window.cxx')
| -rw-r--r-- | src/Fl_Double_Window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index fa59c8cec..bb9273e82 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -85,7 +85,7 @@ void fl_copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx uchar *img = fl_read_image(NULL, srcx, srcy, w, h, 0); fl_end_offscreen(); fl_draw_image(img, x, y, w, h, 3, 0); - delete img; + delete[] img; } } /** @} */ |
