diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-11-21 01:30:28 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-11-21 01:30:28 +0100 |
| commit | d767b8ceb8a360442380b6f58aa7e91e498977c0 (patch) | |
| tree | 0996e8b97ff8ffb07f35db4e041235b98a27fba9 /fluid | |
| parent | 4258aca717e30ccb0b07820dd0a471ad7e168198 (diff) | |
FLUID: autodoc image memory allocation fix.
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/autodoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/autodoc.cxx b/fluid/autodoc.cxx index 35e1a73bd..a47cdf19a 100644 --- a/fluid/autodoc.cxx +++ b/fluid/autodoc.cxx @@ -104,7 +104,7 @@ static int convert_RGB_to_RGBA(Fl_RGB_Image *&img) { delete img; // Create the new image img = new Fl_RGB_Image(data, img_w, img_h, 4); - delete[] data; + img->alloc_array = 1; return 0; } |
