forked from Telodendria/Telodendria
Fix memory leak when log timestamp is not set in the config.
This commit is contained in:
parent
9186cdb13d
commit
c0309c1ea8
1 changed files with 2 additions and 0 deletions
|
@ -301,5 +301,7 @@ TelodendriaConfigFree(TelodendriaConfig * tConfig)
|
||||||
Free(tConfig->gid);
|
Free(tConfig->gid);
|
||||||
Free(tConfig->dataDir);
|
Free(tConfig->dataDir);
|
||||||
|
|
||||||
|
Free(tConfig->logTimestamp);
|
||||||
|
|
||||||
Free(tConfig);
|
Free(tConfig);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue