[Forensics-changes] [yara] 191/415: Fix bug in yr_compiler_create

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:43:04 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 a309b7ccb1fa7eb230dafe0b3857077448179846
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Wed Jul 3 15:07:14 2013 +0000

    Fix bug in yr_compiler_create
---
 libyara/compiler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/compiler.c b/libyara/compiler.c
index e4a046d..23abf2e 100644
--- a/libyara/compiler.c
+++ b/libyara/compiler.c
@@ -111,7 +111,7 @@ int yr_compiler_create(
     if (new_compiler->namespaces_arena != NULL)
       yr_arena_destroy(new_compiler->namespaces_arena);
 
-    if (new_compiler->namespaces_arena != NULL)
+    if (new_compiler->metas_arena != NULL)
       yr_arena_destroy(new_compiler->metas_arena);
 
     yr_free(new_compiler);

-- 
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