summaryrefslogtreecommitdiff
path: root/fuzz/fuzzer.h
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2016-11-19 17:13:10 +0100
committerKurt Roeckx <kurt@roeckx.be>2016-12-03 00:14:14 +0100
commitad4da7fbc0779fb1730c9862221e19583de69f4f (patch)
tree2d28fc3b7aa07ded6ca7841daeddb91216f43df6 /fuzz/fuzzer.h
parentbaae2cbc92accf4fa53a7b8faaf3df1153c943f5 (diff)
downloadopenssl-new-ad4da7fbc0779fb1730c9862221e19583de69f4f.tar.gz
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/fuzzer.h')
-rw-r--r--fuzz/fuzzer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzz/fuzzer.h b/fuzz/fuzzer.h
index 04d605d79a..5f9efa4bf6 100644
--- a/fuzz/fuzzer.h
+++ b/fuzz/fuzzer.h
@@ -10,3 +10,4 @@
int FuzzerTestOneInput(const uint8_t *buf, size_t len);
int FuzzerInitialize(int *argc, char ***argv);
+void FuzzerCleanup(void);