diff options
author | Thomas White <taw@physics.org> | 2023-09-23 19:20:52 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-09-23 19:33:08 +0200 |
commit | cee7ee0b8a4cafa1f8f3c67518f86c895520f5a6 (patch) | |
tree | e69fe9b2fda910fb0a9b2db4f5a109da73b8430a /src/gui_backend_local.h | |
parent | 048fea1904c81f4682606ef410fba303b552cd07 (diff) |
image_create_dp_bad_sat: Don't worry about "sat"
The saturation array is created by create_satmap when needed, which
takes care that all panels get an array (so we only have to check
image->sat != NULL). The array created by image_create_dp_bad_sat was
actually leaked!
In any case, saturation maps are rarely used. We can do without the
extra allocations.
The routine name has been changed accordingly, to prevent future
confusion.
Diffstat (limited to 'src/gui_backend_local.h')
0 files changed, 0 insertions, 0 deletions