diff --git a/applications/plugins/subbrute/helpers/subbrute_worker.c b/applications/plugins/subbrute/helpers/subbrute_worker.c index 2e27638cc..c77dacfbf 100644 --- a/applications/plugins/subbrute/helpers/subbrute_worker.c +++ b/applications/plugins/subbrute/helpers/subbrute_worker.c @@ -360,6 +360,8 @@ bool subbrute_worker_manual_transmit(SubBruteWorker* instance, const char* paylo subghz_transmitter_free(instance->transmitter); instance->transmitter = NULL; + stream_clean(stream); + instance->worker_manual_mode = false; return true; diff --git a/applications/plugins/subbrute/subbrute_device.c b/applications/plugins/subbrute/subbrute_device.c index 02913d577..28b47562b 100644 --- a/applications/plugins/subbrute/subbrute_device.c +++ b/applications/plugins/subbrute/subbrute_device.c @@ -564,6 +564,7 @@ uint8_t subbrute_device_load_from_file(SubBruteDevice* instance, string_t file_p subghz_environment_free(instance->environment); subghz_receiver_free(instance->receiver); + instance->decoder_result = NULL; instance->receiver = NULL; instance->environment = NULL;