diff options
author | Daniel Stone <daniel@fooishbar.org> | 2005-06-13 16:44:53 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2005-06-13 16:44:53 +0000 |
commit | e67de73f5ca7ae854c18fa1500c8eaf412b44c6c (patch) | |
tree | 64f337e65e9490d5b9daf58bd5ea5390e924202d | |
parent | 89e52cde6eaf5e2d46198ee2fa16b67ef7e1dd32 (diff) |
Bug #1043: Fix leak when creating animated cursors.XORG-6_8_99_13XORG-6_8_99_12
-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 |