Fix memory error?

This commit is contained in:
Jordan Bancino 2022-08-09 20:10:45 -04:00
parent cdd7808642
commit a24d9b6c29

View file

@ -83,7 +83,7 @@ TelodendriaConfigParse(HashMap * config, LogConfig * lc)
return NULL;
}
tConfig = calloc(1, sizeof(tConfig));
tConfig = calloc(1, sizeof(TelodendriaConfig));
if (!tConfig)
{
return NULL;