inpcom.c: plug a memory leak
This commit is contained in:
parent
d875687752
commit
4d7c993c6e
|
|
@ -295,6 +295,9 @@ new_names(void)
|
|||
static void
|
||||
delete_names(struct names *p)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < p->num_names; i++)
|
||||
tfree(p->names[i]);
|
||||
tfree(p);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue