Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vulkan-loader: Fix leak in settings fuzzer #12870

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions projects/vulkan-loader/fuzzers/settings_fuzzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {

bool should_search_for_other_layers = true;
get_settings_layers(NULL, &settings_layers, &should_search_for_other_layers);
// Free allocated memory
loader_delete_layer_list_and_properties(NULL, (struct loader_layer_list *)settings_layers.list);
should_skip_logging_global_messages(0);
update_global_loader_settings();
teardown_global_loader_settings();
Expand Down
Loading