瀏覽代碼

Merge lightmeter from https://github.com/xMasterX/all-the-plugins

Willy-JL 2 年之前
父節點
當前提交
3f30449e6b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      lightmeter/lightmeter.c

+ 3 - 0
lightmeter/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);
 }