mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
core: Fix task leak in meta_selection_source_memory_read_async
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1001
This commit is contained in:
parent
e7928ce6ee
commit
98040e67a2
@ -43,7 +43,7 @@ meta_selection_source_memory_read_async (MetaSelectionSource *source,
|
||||
{
|
||||
MetaSelectionSourceMemory *source_mem = META_SELECTION_SOURCE_MEMORY (source);
|
||||
GInputStream *stream;
|
||||
GTask *task;
|
||||
g_autoptr (GTask) task = NULL;
|
||||
|
||||
if (g_strcmp0 (mimetype, source_mem->mimetype) != 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user