answering fix

This commit is contained in:
Alexey Khromov 2024-05-26 00:08:48 +03:00
parent f4d63b208b
commit 3b7e0121e6

View File

@ -518,6 +518,7 @@ int emsi_parsedat(char *emsi_dat, s_emsi *emsi)
{
int i;
char *tmp, *p, *q, *n, *otmp;
otmp = malloc(80);
while( (tmp=get_field(&emsi_dat, '{', '}')) != NULL )
{
@ -769,7 +770,7 @@ int emsi_parsedat(char *emsi_dat, s_emsi *emsi)
strnxcat(emsi->addons, "}", sizeof(emsi->addons));
}
} /* end of while */
free(otmp);
return(0);
}