inpcom.c, free_function(), remove a memory leak

This commit is contained in:
h_vogt 2016-06-16 07:56:41 +02:00 committed by rlar
parent fca8ab3146
commit 1ef05dc51b
1 changed files with 1 additions and 0 deletions

View File

@ -2785,6 +2785,7 @@ free_function(struct function *fcn)
tfree(fcn->name);
tfree(fcn->body);
tfree(fcn->accept);
for (i = 0; i < fcn->num_parameters; i++)
tfree(fcn->params[i]);