Commit e67de73f authored by Daniel Stone's avatar Daniel Stone

Bug #1043: Fix leak when creating animated cursors.

parent 89e52cde
......@@ -711,6 +711,7 @@ XcursorImagesLoadCursor (Display *dpy, const XcursorImages *images)
anim[n].delay = images->images[n]->delay;
cursor = XRenderCreateAnimCursor (dpy, cursors->ncursor, anim);
free (anim);
#if defined HAVE_XFIXES && XFIXES_MAJOR >= 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment