cursor: free the array from which images are linked
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Wed, 18 Mar 2015 00:53:22 +0000 (01:53 +0100)
committerBryce Harrington <bryce@osg.samsung.com>
Wed, 18 Mar 2015 23:01:19 +0000 (16:01 -0700)
cursor/wayland-cursor.c

index 1a5393a..410a0d4 100644 (file)
@@ -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);
 }