]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Don't allocate relocator twice when loading aout
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 28 Aug 2010 19:25:35 +0000 (21:25 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 28 Aug 2010 19:25:35 +0000 (21:25 +0200)
grub-core/loader/i386/bsd.c

index 770c6f2785b97b7c86784fc9d8be6561bc404eac..d6a22da5b1891d70ed18bd816dcd51df24066b31 100644 (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;