aboutsummaryrefslogtreecommitdiffstats
path: root/src/op-support.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/op-support.c')
-rw-r--r--src/op-support.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/op-support.c b/src/op-support.c
index 19b24205..c3ba7785 100644
--- a/src/op-support.c
+++ b/src/op-support.c
@@ -48,6 +48,7 @@ _gpgme_op_data_lookup (gpgme_ctx_t ctx, ctx_op_data_id_t type, void **hook,
data = calloc (1, sizeof (struct ctx_op_data) + size);
if (!data)
return gpg_error_from_errno (errno);
+ data->magic = CTX_OP_DATA_MAGIC;
data->next = ctx->op_data;
data->type = type;
data->cleanup = cleanup;