inpcom.c: plug a memory leak

This commit is contained in:
h_vogt 2013-09-08 11:19:51 +02:00 committed by rlar
parent d875687752
commit 4d7c993c6e
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}