Mutex causing memory leaks

Werner Koch wk at gnupg.org
Wed Sep 1 06:51:04 CEST 2010


On Mon, 23 Aug 2010 06:57, randomproof at fastmail.us said:
> I've setup the mutex functions for thread saftey using
> gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread); but it
> seams the mutex_destroy function is never called.  It there a function I
> need to call when the program is closing?

Mutexes should be destroyed when a process terminates.  It is the OSs
task.


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gcrypt-devel mailing list