data-device: Don't leak wl_data_source in destructor

We used to refcount the data source, but switched to using a destroy signal
instead.  When we switched we forgot to free the source insted of
unreffing it.
This commit is contained in:
Kristian Høgsberg 2013-06-25 11:26:31 -04:00
parent f00460771e
commit 489b279be9

View file

@ -502,7 +502,7 @@ destroy_data_source(struct wl_resource *resource)
wl_array_release(&source->mime_types);
source->resource = NULL;
free(source);
}
static void