inpcom.c: plug small memory leak

This commit is contained in:
h_vogt 2012-10-15 18:35:12 +02:00
parent 0336e31c57
commit ae25f54709
1 changed files with 2 additions and 0 deletions

View File

@ -3443,6 +3443,8 @@ get_number_terminals(char *c)
if (only_digits && (strchr(name[k-1], ',') == NULL))
area_found = TRUE;
}
for (k = i; k >= 0; k--)
tfree(name[k]);
if (area_found) {
return i-j-2;
} else {