2011-03-14 Michael Snyder <msnyder@vmware.com>
* objcopy.c (set_pe_subsystem): Free subsystem.
This commit is contained in:
parent
c30fe01daf
commit
0cbf353135
@ -1,5 +1,7 @@
|
||||
2011-03-14 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* objcopy.c (set_pe_subsystem): Free subsystem.
|
||||
|
||||
* wrstabs.c (stab_start_struct_type): Close memory leak.
|
||||
|
||||
* readelf.c (process_version_sections): Free symbols.
|
||||
|
@ -3157,6 +3157,8 @@ set_pe_subsystem (const char *s)
|
||||
pe_section_alignment = PE_DEF_SECTION_ALIGNMENT;
|
||||
break;
|
||||
}
|
||||
if (s != subsystem)
|
||||
free ((char *) subsystem);
|
||||
}
|
||||
|
||||
/* Convert EFI target to PEI target. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user