소스 검색

add missing furi_string_free

MX 2 년 전
부모
커밋
7350f1c4d9
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      lightmeter.c

+ 3 - 0
lightmeter.c

@@ -139,6 +139,9 @@ void lightmeter_app_free(LightMeterApp* app) {
 
     bh1750_set_power_state(0);
 
+    // Free cfg path string
+    furi_string_free(app->cfg_path);
+
     free(app->config);
     free(app);
 }