Skip to content

Commit

Permalink
FLUID: autodoc image memory allocation fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasWM committed Nov 21, 2024
1 parent 4258aca commit d767b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluid/autodoc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d767b8c

Please sign in to comment.