ctfconvert/ctfmerge: Fix a memory leak enumerating DWARF files

Reported by:	Coverity
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Conrad Meyer 2018-03-26 23:20:37 +00:00
parent 289b9798be
commit 52f72944b8

View File

@ -1613,6 +1613,7 @@ die_function_create(dwarf_t *dw, Dwarf_Die die, Dwarf_Off off, tdesc_t *tdp __un
ii->ii_vargs = 1;
continue;
}
free(name1);
ii->ii_nargs++;
}