diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2015-07-08 14:38:16 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2015-07-08 14:38:16 -0400 |
commit | dafc454e70460b371775a876f3831f280bf097b8 (patch) | |
tree | edabbf0d16452b4acadfbec8fc81f1bd1ceea4a1 | |
parent | 7ed76a4eca245edbf3149815a06795065164cb1f (diff) | |
download | glib-dafc454e70460b371775a876f3831f280bf097b8.tar.gz |
GAsyncInitable: Fix leaked object when using _newv_async
-rw-r--r-- | gio/gasyncinitable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/gasyncinitable.c b/gio/gasyncinitable.c index ff56fa2ec..6076fea94 100644 --- a/gio/gasyncinitable.c +++ b/gio/gasyncinitable.c @@ -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 */ } /** |