[Forensics-changes] [yara] 139/407: Remove unnecessary code.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:18 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 e9ba9c2935b538dd40674b6359f7e5b09ef29dfa
Author: Wesley Shields <wxs at atarininja.org>
Date: Sun Oct 19 22:08:57 2014 -0400
Remove unnecessary code.
If we ever hit this point cert_bio is already NULL.
---
libyara/modules/pe.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/libyara/modules/pe.c b/libyara/modules/pe.c
index bad28e1..363c0c4 100644
--- a/libyara/modules/pe.c
+++ b/libyara/modules/pe.c
@@ -2496,11 +2496,6 @@ void pe_parse_certificates(
cert_bio = NULL;
}
- if (cert_bio) {
- BIO_set_close(cert_bio, BIO_CLOSE);
- BIO_free(cert_bio);
- }
-
return;
}
--
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