apr_pool_initialize() pairs with apr_pool_terminate(), using apr_terminate() causes leaks. (#6806)

This commit is contained in:
ylavic 2021-11-09 23:31:40 +01:00 committed by GitHub
parent 610e787f4d
commit a3d624e068
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}