From: Emmanuel Gil Peyrot Date: Wed, 18 Mar 2015 00:53:22 +0000 (+0100) Subject: cursor: free the array from which images are linked X-Git-Tag: 1.7.91~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c770b8465851862b293b91d9d115a2cccadb807c;p=platform%2Fupstream%2Fwayland.git cursor: free the array from which images are linked --- diff --git a/cursor/wayland-cursor.c b/cursor/wayland-cursor.c index 1a5393a..410a0d4 100644 --- a/cursor/wayland-cursor.c +++ b/cursor/wayland-cursor.c @@ -190,6 +190,7 @@ wl_cursor_destroy(struct wl_cursor *cursor) for (i = 0; i < cursor->image_count; i++) wl_cursor_image_destroy(cursor->images[i]); + free(cursor->images); free(cursor->name); free(cursor); }