diff options
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 51ea732f..77eaa34 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -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. */ |