mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
GAsyncInitable: Fix leaked object when using _newv_async
This commit is contained in:
parent
7ed76a4eca
commit
dafc454e70
@ -381,6 +381,7 @@ g_async_initable_newv_async (GType object_type,
|
||||
g_async_initable_init_async (G_ASYNC_INITABLE (obj),
|
||||
io_priority, cancellable,
|
||||
callback, user_data);
|
||||
g_object_unref (obj); /* Passed ownership to async call */
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user