Release our mutex rather than free-ing it, since we want it around to reuse.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2007-10-16 23:01:23 +00:00
commit c166ffc10d

View file

@ -354,7 +354,7 @@ namespace Swig {
~Guard()
{
PyThread_free_lock(mutex_);
PyThread_release_lock(mutex_);
}
};
# define SWIG_GUARD(mutex) Guard _guard(mutex)