[Forensics-changes] [yara] 301/415: Call yr_finalize when exiting Python in yara-python
Hilko Bengen
bengen at moszumanska.debian.org
Thu Apr 3 05:43:17 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 ea4c05954538059c7abd5131b284ed50865ae1a6
Author: Victor M. Alvarez <plusvic at gmail.com>
Date: Sat Dec 7 23:17:10 2013 +0100
Call yr_finalize when exiting Python in yara-python
---
yara-python/yara-python.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/yara-python/yara-python.c b/yara-python/yara-python.c
index 13d8409..e63d1ab 100644
--- a/yara-python/yara-python.c
+++ b/yara-python/yara-python.c
@@ -1331,5 +1331,7 @@ MOD_INIT(yara)
yr_initialize();
+ Py_AtExit(yr_finalize);
+
return MOD_SUCCESS_VAL(m);
}
--
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