projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'acpi-sysfs', 'acpi-pci' and 'acpi-tables'
[cascardo/linux.git]
/
kernel
/
kexec_file.c
diff --git
a/kernel/kexec_file.c
b/kernel/kexec_file.c
index
503bc2d
..
037c321
100644
(file)
--- a/
kernel/kexec_file.c
+++ b/
kernel/kexec_file.c
@@
-887,7
+887,10
@@
int kexec_load_purgatory(struct kimage *image, unsigned long min,
return 0;
out:
vfree(pi->sechdrs);
+ pi->sechdrs = NULL;
+
vfree(pi->purgatory_buf);
+ pi->purgatory_buf = NULL;
return ret;
}