diff options
| author | Manolo Gouy <Manolo> | 2011-02-02 18:39:34 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-02-02 18:39:34 +0000 |
| commit | 8072ef8ce89b5b94e7f705e1099b7e4e8c4c3a30 (patch) | |
| tree | c8354ac58372c147fbebf80a037c16bb9ade1424 /src/fl_draw_pixmap.cxx | |
| parent | 40624df4a9ad48a5d60cb56b6b9428329bb37c17 (diff) | |
Replaced a bunch of delete by delete[] where it's legitimate.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_draw_pixmap.cxx')
| -rw-r--r-- | src/fl_draw_pixmap.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_draw_pixmap.cxx b/src/fl_draw_pixmap.cxx index 25b485952..25262d5c7 100644 --- a/src/fl_draw_pixmap.cxx +++ b/src/fl_draw_pixmap.cxx @@ -370,7 +370,7 @@ int fl_draw_pixmap(const char*const* cdata, int x, int y, Fl_Color bg) { CGContextDrawImage(fl_gc, rect, img); Fl_X::q_end_image(); CGImageRelease(img); - delete array; + delete[] array; } else { #endif // __APPLE_QUARTZ__ |
