mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 10:22:12 +02:00
Monitor: fix memleaks
This commit is contained in:
@@ -141,4 +141,9 @@ void ffGenerateMonitorJson(FF_MAYBE_UNUSED FFMonitorOptions* options, yyjson_mut
|
||||
yyjson_mut_obj_add_uint(doc, obj, "physicalWidth", item->physicalWidth);
|
||||
}
|
||||
}
|
||||
|
||||
FF_LIST_FOR_EACH(FFMonitorResult, item, results)
|
||||
{
|
||||
ffStrbufDestroy(&item->name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user