diff options
-rw-r--r-- | src/cursor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cursor.c b/src/cursor.c index 66c6afa..fc92924 100644 --- a/src/cursor.c +++ b/src/cursor.c @@ -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 |