patch-2.3.11 linux/arch/mips/kernel/irixelf.c

Next file: linux/arch/ppc/Makefile
Previous file: linux/arch/i386/mm/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.10/linux/arch/mips/kernel/irixelf.c linux/arch/mips/kernel/irixelf.c
@@ -732,9 +732,9 @@
 		if(retval) {
 			set_fs(old_fs);
 			printk("Unable to load IRIX ELF interpreter\n");
-			kfree(elf_phdata);
 			send_sig(SIGSEGV, current, 0);
-			return 0;
+			retval = 0;
+			goto out_file;
 		}
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)