From 77e6d1c8e1762a763c19e065a8bdc7240b3dba49 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Fri, 28 Jun 2013 06:50:26 +0100 Subject: [PATCH] Update unbind of the data device to use wl_resource_get_link. Signed-off-by: Chris Michael --- src/bin/e_comp_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 2b3bbe8b0..f28170292 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -1121,7 +1121,7 @@ _create_data_source(struct wl_client *client, struct wl_resource *resource, uint static void _unbind_data_device(struct wl_resource *resource) { - wl_list_remove(&resource->link); + wl_list_remove(wl_resource_get_link(resource)); free(resource); }