Don't leak so much memory.

This commit is contained in:
Jordan Bancino 2023-05-23 17:53:19 +00:00
parent f44db5a712
commit 4b85d10983
1 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,6 @@
#include <Log.h>
#include <Memory.h>
#include <Str.h>
#include <string.h>
#include <time.h>
@ -209,7 +208,7 @@ LogConfigTimeStampFormatSet(LogConfig * config, char *tsFmt)
{
if (config)
{
config->tsFmt = StrDuplicate(tsFmt);
config->tsFmt = tsFmt;
}
}