[svn] gpgme - r1379 - trunk/src

svn author marcus cvs at cvs.gnupg.org
Wed Jun 17 15:42:53 CEST 2009


Author: marcus
Date: 2009-06-17 15:42:52 +0200 (Wed, 17 Jun 2009)
New Revision: 1379

Modified:
   trunk/src/ChangeLog
   trunk/src/gpgme.c
Log:
2009-06-16  Marcus Brinkmann  <marcus at g10code.de>

	* gpgme.c (gpgme_result_unref): Hot fix to release a lock.


Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2009-06-16 15:42:37 UTC (rev 1378)
+++ trunk/src/ChangeLog	2009-06-17 13:42:52 UTC (rev 1379)
@@ -1,5 +1,7 @@
 2009-06-16  Marcus Brinkmann  <marcus at g10code.de>
 
+	* 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.
 

Modified: trunk/src/gpgme.c
===================================================================
--- trunk/src/gpgme.c	2009-06-16 15:42:37 UTC (rev 1378)
+++ trunk/src/gpgme.c	2009-06-17 13:42:52 UTC (rev 1379)
@@ -211,6 +211,7 @@
       UNLOCK (result_ref_lock);
       return;
     }
+  UNLOCK (result_ref_lock);
 
   if (data->cleanup)
     (*data->cleanup) (data->hook);




More information about the Gnupg-commits mailing list