[Forensics-changes] [yara] 375/415: Fixed a mutex leak.
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:43:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch debian
in repository yara.
commit 0e9509a7bfdb1986f45b9e8ec932fa064d01d465
Author: msuvajac <msuvajac at gmail.com>
Date: Tue Jan 21 09:36:03 2014 +0100
Fixed a mutex leak.
---
libyara/rules.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libyara/rules.c b/libyara/rules.c
index 5d58689..09c17f3 100644
--- a/libyara/rules.c
+++ b/libyara/rules.c
@@ -1396,6 +1396,12 @@ int yr_rules_destroy(
external++;
}
+ #if WIN32
+ CloseHandle(rules->mutex);
+ #else
+ pthread_mutex_destroy(rules->mutex);
+ #endif
+
yr_arena_destroy(rules->arena);
yr_free(rules);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list