1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3-mdssvc: add missing call to g_cancellable_new()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
Ralph Boehme 2019-03-12 15:27:25 +01:00
parent 984c890cd0
commit 91c9c03435

View File

@ -1903,6 +1903,12 @@ struct mds_ctx *mds_init_ctx(TALLOC_CTX *mem_ctx,
goto error;
}
mds_ctx->gcancellable = g_cancellable_new();
if (mds_ctx->gcancellable == NULL) {
DBG_ERR("error from g_cancellable_new\n");
goto error;
}
tracker_sparql_connection_get_async(mds_ctx->gcancellable,
tracker_con_cb, mds_ctx);