amend per merge_requests/22#note_2642042

Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
This commit is contained in:
Thomas E. Dickey 2024-11-04 04:06:21 -05:00
parent 68fe24020c
commit 8ae6cf61b1
No known key found for this signature in database
GPG key ID: CC2AF4472167BE03

View file

@ -825,6 +825,7 @@ _XcursorXcFileLoadImages (XcursorFile *file, int size, XcursorBool resize)
if (resize && (image->size != (XcursorDim) size))
{
XcursorImage *resized_image = _XcursorResizeImage (image, size);
XcursorImageDestroy (image);
image = resized_image;
if (image == NULL)
break;