mirror of https://github.com/google/oss-fuzz.git
apr_pool_initialize() pairs with apr_pool_terminate(), using apr_terminate() causes leaks. (#6806)
This commit is contained in:
parent
610e787f4d
commit
a3d624e068
|
@ -31,7 +31,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||
|
||||
free(input_string);
|
||||
apr_pool_destroy(pool);
|
||||
apr_terminate();
|
||||
apr_pool_terminate();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||
|
||||
free(arg_str);
|
||||
apr_pool_destroy(pool);
|
||||
apr_terminate();
|
||||
apr_pool_terminate();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue