From 1a9960252aa8739446baec2c21d175d9630058d1 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Thu, 1 Feb 2024 21:45:34 +0000 Subject: [PATCH] Sync system apps (just hex viewer fixes) --- applications/system/hex_viewer/helpers/hex_viewer_storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applications/system/hex_viewer/helpers/hex_viewer_storage.c b/applications/system/hex_viewer/helpers/hex_viewer_storage.c index b7eb6b0c4..0b795bc5f 100644 --- a/applications/system/hex_viewer/helpers/hex_viewer_storage.c +++ b/applications/system/hex_viewer/helpers/hex_viewer_storage.c @@ -93,8 +93,10 @@ void hex_viewer_read_settings(void* context) { FURI_LOG_E(TAG, "Missing Header Data"); hex_viewer_close_config_file(fff_file); hex_viewer_close_storage(); + furi_string_free(temp_str); return; } + furi_string_free(temp_str); if(file_version < HEX_VIEWER_SETTINGS_FILE_VERSION) { FURI_LOG_I(TAG, "old config version, will be removed.");