Revert "Deauther Upd"

This reverts commit f8f9993a41.
This commit is contained in:
RogueMaster
2022-10-26 17:41:25 -04:00
parent a98da8d641
commit 9b20b2871b
4 changed files with 17 additions and 17 deletions

View File

@@ -54,8 +54,8 @@ WifideautherApp* wifi_deauther_app_alloc() {
app->text_box = text_box_alloc();
view_dispatcher_add_view(
app->view_dispatcher, WifideautherAppViewConsoleOutput, text_box_get_view(app->text_box));
string_init(app->text_box_store);
string_reserve(app->text_box_store, WIFI_deauther_TEXT_BOX_STORE_SIZE);
app->text_box_store = furi_string_alloc();
furi_string_reserve(app->text_box_store, WIFI_deauther_TEXT_BOX_STORE_SIZE);
app->text_input = text_input_alloc();
view_dispatcher_add_view(
@@ -74,7 +74,7 @@ void wifi_deauther_app_free(WifideautherApp* app) {
view_dispatcher_remove_view(app->view_dispatcher, WifideautherAppViewConsoleOutput);
view_dispatcher_remove_view(app->view_dispatcher, WifideautherAppViewTextInput);
text_box_free(app->text_box);
string_clear(app->text_box_store);
furi_string_free(app->text_box_store);
text_input_free(app->text_input);
// View dispatcher
@@ -84,7 +84,7 @@ void wifi_deauther_app_free(WifideautherApp* app) {
wifi_deauther_uart_free(app->uart);
// Close records
furi_record_close(RECORD_GUI); // GET PWNED
furi_record_close(RECORD_GUI);
free(app);
}