Don't allocate relocator twice when loading aout

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-08-28 21:25:35 +02:00
parent 197eb519e5
commit c6785a2380

View file

@ -1129,10 +1129,6 @@ grub_bsd_load_aout (grub_file_t file)
else
bss_size = 0;
relocator = grub_relocator_new ();
if (!relocator)
return grub_errno;
{
grub_relocator_chunk_t ch;