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
1 changed files with 1 additions and 1 deletions

View File

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