mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcursor.git
synced 2026-05-05 09:58:08 +02:00
Bug #1043: Fix leak when creating animated cursors.
This commit is contained in:
parent
89e52cde6e
commit
e67de73f5c
1 changed files with 1 additions and 0 deletions
|
|
@ -711,6 +711,7 @@ XcursorImagesLoadCursor (Display *dpy, const XcursorImages *images)
|
|||
anim[n].delay = images->images[n]->delay;
|
||||
}
|
||||
cursor = XRenderCreateAnimCursor (dpy, cursors->ncursor, anim);
|
||||
XcursorCursorsDestroy(cursors);
|
||||
free (anim);
|
||||
}
|
||||
#if defined HAVE_XFIXES && XFIXES_MAJOR >= 2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue