Update subghz.c

This commit is contained in:
r3df0xx
2022-04-20 19:08:25 +03:00
parent 5dcdce4ed6
commit cbfcc98278

View File

@@ -243,10 +243,10 @@ void subghz_free(SubGhz* subghz) {
subghz_worker_free(subghz->txrx->worker);
flipper_format_free(subghz->txrx->fff_data);
subghz_history_free(subghz->txrx->history);
free(subghz->txrx);
free(subghz->txrx->seed_data);
free(subghz->txrx->fix_data);
free(subghz->txrx->cnt_data);
free(subghz->txrx);
//Error string
string_clear(subghz->error_str);