[Forensics-changes] [yara] 139/415: Fix memory leak (reported by Steve Henderson)

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:42:55 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 8b76026d7b8bf692ffdc4bf33745ea43855cbcd7
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Thu Aug 9 21:12:22 2012 +0000

    Fix memory leak (reported by Steve Henderson)
---
 libyara/scan.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libyara/scan.c b/libyara/scan.c
index 6ac1387..86289a1 100644
--- a/libyara/scan.c
+++ b/libyara/scan.c
@@ -623,6 +623,7 @@ void clear_marks(RULE_LIST* rule_list)
             while (match != NULL)
             {
                 next_match = match->next;
+                yr_free(match->data);
                 yr_free(match);
                 match = next_match;
             }

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