diff options
Diffstat (limited to 'src/op-support.c')
-rw-r--r-- | src/op-support.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/op-support.c b/src/op-support.c index fefccc67..19b24205 100644 --- a/src/op-support.c +++ b/src/op-support.c @@ -52,6 +52,7 @@ _gpgme_op_data_lookup (gpgme_ctx_t ctx, ctx_op_data_id_t type, void **hook, data->type = type; data->cleanup = cleanup; data->hook = (void *) (((char *) data) + sizeof (struct ctx_op_data)); + data->references = 1; ctx->op_data = data; } *hook = data->hook; |