diff options
author | Marcus Brinkmann <[email protected]> | 2009-06-17 13:42:52 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2009-06-17 13:42:52 +0000 |
commit | baada38ddf61514ca061b35c4983c35a05b0fabd (patch) | |
tree | cef3413af8c2f86d04ab1bfe0cc178872ae230f7 | |
parent | Add support for gpg --fetch-keys. (diff) | |
download | gpgme-baada38ddf61514ca061b35c4983c35a05b0fabd.tar.gz gpgme-baada38ddf61514ca061b35c4983c35a05b0fabd.zip |
2009-06-16 Marcus Brinkmann <[email protected]>
* gpgme.c (gpgme_result_unref): Hot fix to release a lock.
-rw-r--r-- | trunk/src/ChangeLog | 2 | ||||
-rw-r--r-- | trunk/src/gpgme.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/trunk/src/ChangeLog b/trunk/src/ChangeLog index 93108af5..d7b4592e 100644 --- a/trunk/src/ChangeLog +++ b/trunk/src/ChangeLog @@ -1,5 +1,7 @@ 2009-06-16 Marcus Brinkmann <[email protected]> + * gpgme.c (gpgme_result_unref): Hot fix to release a lock. + * gpgme.c (result_ref_lock): New global variable. (gpgme_result_ref, gpgme_result_unref): use it. diff --git a/trunk/src/gpgme.c b/trunk/src/gpgme.c index 73788e7e..3283b342 100644 --- a/trunk/src/gpgme.c +++ b/trunk/src/gpgme.c @@ -211,6 +211,7 @@ gpgme_result_unref (void *result) UNLOCK (result_ref_lock); return; } + UNLOCK (result_ref_lock); if (data->cleanup) (*data->cleanup) (data->hook); |