Explorar o código

add missing furi_string_free

MX %!s(int64=2) %!d(string=hai) anos
pai
achega
7350f1c4d9
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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);
 }