[Forensics-changes] [yara] 326/407: Fix previous commit, the operation should be decrement instead of increment

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:28:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.3.0
in repository yara.

commit e378aa15149b069701822cbba1ade5dbe5ffceb3
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Wed Jan 7 17:09:41 2015 +0100

    Fix previous commit, the operation should be decrement instead of increment
---
 libyara/object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libyara/object.c b/libyara/object.c
index 4c341ba..442bdb0 100644
--- a/libyara/object.c
+++ b/libyara/object.c
@@ -815,7 +815,7 @@ int yr_object_dict_set_item(
   dict->items->objects[dict->items->used].obj = item;
 
   dict->items->used++;
-  dict->items->free++;
+  dict->items->free--;
 
   return ERROR_SUCCESS;
 }

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