mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 20:49:49 +04:00
Fuzzers remove excessive free's
thanks to @Willy-JL
This commit is contained in:
3
applications/external/flipfrid/flipfrid.c
vendored
3
applications/external/flipfrid/flipfrid.c
vendored
@@ -118,9 +118,6 @@ void flipfrid_free(FlipFridState* flipfrid) {
|
||||
furi_string_free(flipfrid->main_menu_proto_items[i]);
|
||||
}
|
||||
|
||||
free(flipfrid->data);
|
||||
free(flipfrid->payload);
|
||||
|
||||
// The rest
|
||||
free(flipfrid);
|
||||
}
|
||||
|
||||
@@ -120,9 +120,6 @@ void ibtnfuzzer_free(iBtnFuzzerState* ibtnfuzzer) {
|
||||
furi_string_free(ibtnfuzzer->main_menu_proto_items[i]);
|
||||
}
|
||||
|
||||
free(ibtnfuzzer->data);
|
||||
free(ibtnfuzzer->payload);
|
||||
|
||||
// The rest
|
||||
free(ibtnfuzzer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user