2009-06-16 Marcus Brinkmann <marcus@g10code.de>
* gpgme.c (gpgme_result_unref): Hot fix to release a lock.
This commit is contained in:
parent
bebd9cbe29
commit
9c17b3343b
@ -1,5 +1,7 @@
|
|||||||
2009-06-16 Marcus Brinkmann <marcus@g10code.de>
|
2009-06-16 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
|
* gpgme.c (gpgme_result_unref): Hot fix to release a lock.
|
||||||
|
|
||||||
* gpgme.c (result_ref_lock): New global variable.
|
* gpgme.c (result_ref_lock): New global variable.
|
||||||
(gpgme_result_ref, gpgme_result_unref): use it.
|
(gpgme_result_ref, gpgme_result_unref): use it.
|
||||||
|
|
||||||
|
@ -211,6 +211,7 @@ gpgme_result_unref (void *result)
|
|||||||
UNLOCK (result_ref_lock);
|
UNLOCK (result_ref_lock);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
UNLOCK (result_ref_lock);
|
||||||
|
|
||||||
if (data->cleanup)
|
if (data->cleanup)
|
||||||
(*data->cleanup) (data->hook);
|
(*data->cleanup) (data->hook);
|
||||||
|
Loading…
Reference in New Issue
Block a user