Fix memory leak, use COUNT_OF macro

This commit is contained in:
noproto
2024-10-09 15:51:21 -04:00
parent 56febb12b1
commit b843856976
2 changed files with 2 additions and 2 deletions

View File

@@ -151,6 +151,7 @@ static void nfc_scene_mf_classic_dict_attack_prepare_view(NfcApp* instance) {
if(!keys_dict_check_presence(furi_string_get_cstr(cuid_dict_path))) {
state = DictAttackStateUserDictInProgress;
furi_string_free(cuid_dict_path);
break;
}