mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Add missing record close
This commit is contained in:
@@ -178,6 +178,7 @@ static void js_widget_load_image_xbm(struct mjs* mjs) {
|
||||
} while(false);
|
||||
|
||||
storage_file_free(file);
|
||||
furi_record_close(RECORD_STORAGE);
|
||||
|
||||
if(xbm == NULL) {
|
||||
mjs_return(mjs, MJS_UNDEFINED);
|
||||
|
||||
Reference in New Issue
Block a user