forked from Telodendria/Telodendria
Fix memory error?
This commit is contained in:
parent
cdd7808642
commit
a24d9b6c29
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ TelodendriaConfigParse(HashMap * config, LogConfig * lc)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
tConfig = calloc(1, sizeof(tConfig));
|
tConfig = calloc(1, sizeof(TelodendriaConfig));
|
||||||
if (!tConfig)
|
if (!tConfig)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue