|
@@ -123,11 +123,10 @@ bool nfc_playlist_nfc_move_item_scene_on_event(void* context, SceneManagerEvent
|
|
|
if(counter == selected_destination) {
|
|
if(counter == selected_destination) {
|
|
|
if(counter == 1) {
|
|
if(counter == 1) {
|
|
|
furi_string_cat_printf(tmp_new_order_str, "%s\n%s", furi_string_get_cstr(tmp_target_str), furi_string_get_cstr(line));
|
|
furi_string_cat_printf(tmp_new_order_str, "%s\n%s", furi_string_get_cstr(tmp_target_str), furi_string_get_cstr(line));
|
|
|
- furi_string_reset(tmp_target_str);
|
|
|
|
|
} else {
|
|
} else {
|
|
|
furi_string_cat_printf(tmp_new_order_str, "%s\n%s", furi_string_get_cstr(line), furi_string_get_cstr(tmp_target_str));
|
|
furi_string_cat_printf(tmp_new_order_str, "%s\n%s", furi_string_get_cstr(line), furi_string_get_cstr(tmp_target_str));
|
|
|
- furi_string_reset(tmp_target_str);
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ furi_string_free(tmp_target_str);
|
|
|
} else {
|
|
} else {
|
|
|
furi_string_cat_printf(tmp_new_order_str, "%s", furi_string_get_cstr(line));
|
|
furi_string_cat_printf(tmp_new_order_str, "%s", furi_string_get_cstr(line));
|
|
|
}
|
|
}
|