mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-04 04:04:17 +01:00
Global: fix some memleaks
This commit is contained in:
@@ -120,7 +120,7 @@ void ffPrintDateTimeFormat(struct tm* tm, const FFModuleArgs* moduleArgs)
|
||||
void ffPrintDateTime(FFDateTimeOptions* options)
|
||||
{
|
||||
uint64_t msNow = ffTimeGetNow();
|
||||
time_t sNow = msNow / 1000;
|
||||
time_t sNow = (time_t) (msNow / 1000);
|
||||
struct tm* tm = localtime(&sNow);
|
||||
|
||||
if(options->moduleArgs.outputFormat.length > 0)
|
||||
|
||||
Reference in New Issue
Block a user