diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2016-11-19 17:13:10 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-12-03 00:14:14 +0100 |
commit | ad4da7fbc0779fb1730c9862221e19583de69f4f (patch) | |
tree | 2d28fc3b7aa07ded6ca7841daeddb91216f43df6 /fuzz/bignum.c | |
parent | FuzzerInitialize always exists (diff) | |
download | openssl-ad4da7fbc0779fb1730c9862221e19583de69f4f.tar.xz openssl-ad4da7fbc0779fb1730c9862221e19583de69f4f.zip |
Add a FuzzerClean() function
This allows to free everything we allocated, so we can detect memory
leaks.
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #2023
Diffstat (limited to 'fuzz/bignum.c')
-rw-r--r-- | fuzz/bignum.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fuzz/bignum.c b/fuzz/bignum.c index 9e110f65ef..d6e8637a98 100644 --- a/fuzz/bignum.c +++ b/fuzz/bignum.c @@ -94,3 +94,7 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len) return 0; } + +void FuzzerCleanup(void) +{ +} |