mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2024-11-22 04:00:47 +03:00
Don't leak so much memory.
This commit is contained in:
parent
f44db5a712
commit
4b85d10983
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@
|
||||||
#include <Log.h>
|
#include <Log.h>
|
||||||
|
|
||||||
#include <Memory.h>
|
#include <Memory.h>
|
||||||
#include <Str.h>
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
@ -209,7 +208,7 @@ LogConfigTimeStampFormatSet(LogConfig * config, char *tsFmt)
|
||||||
{
|
{
|
||||||
if (config)
|
if (config)
|
||||||
{
|
{
|
||||||
config->tsFmt = StrDuplicate(tsFmt);
|
config->tsFmt = tsFmt;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue