mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-22 05:14:46 -07:00
Fuzzer App: use FuzzerPayload & smal fixes
This commit is contained in:
2
applications/external/pacs_fuzzer/fuzzer.c
vendored
2
applications/external/pacs_fuzzer/fuzzer.c
vendored
@@ -26,6 +26,7 @@ PacsFuzzerApp* fuzzer_app_alloc() {
|
||||
app->fuzzer_state.proto_index = 0;
|
||||
|
||||
app->worker = fuzzer_worker_alloc();
|
||||
app->payload = fuzzer_payload_alloc();
|
||||
|
||||
app->file_path = furi_string_alloc();
|
||||
|
||||
@@ -114,6 +115,7 @@ void fuzzer_app_free(PacsFuzzerApp* app) {
|
||||
|
||||
furi_string_free(app->file_path);
|
||||
|
||||
fuzzer_payload_free(app->payload);
|
||||
fuzzer_worker_free(app->worker);
|
||||
|
||||
free(app);
|
||||
|
||||
Reference in New Issue
Block a user