mirror of
https://git.telodendria.io/Telodendria/Cytoplasm.git
synced 2024-10-30 09:10: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 <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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue