From cbfcc982784b73bd120eba496e18bf21d364cfc0 Mon Sep 17 00:00:00 2001 From: r3df0xx Date: Wed, 20 Apr 2022 19:08:25 +0300 Subject: [PATCH] Update subghz.c --- applications/subghz/subghz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/subghz/subghz.c b/applications/subghz/subghz.c index b199bcc7a..4c3ba27d3 100644 --- a/applications/subghz/subghz.c +++ b/applications/subghz/subghz.c @@ -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);