From: Vladimir 'phcoder' Serbinenko Date: Sat, 28 Aug 2010 19:25:35 +0000 (+0200) Subject: Don't allocate relocator twice when loading aout X-Git-Tag: 1.99~629^2~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6785a2380185a960efeb16555c8610160831951;p=thirdparty%2Fgrub.git Don't allocate relocator twice when loading aout --- diff --git a/grub-core/loader/i386/bsd.c b/grub-core/loader/i386/bsd.c index 770c6f278..d6a22da5b 100644 --- a/grub-core/loader/i386/bsd.c +++ b/grub-core/loader/i386/bsd.c @@ -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;