elilo/elilo-keep-start-params.diff

20 lines
450 B
Diff
Raw Normal View History

---
x86_64/system.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/x86_64/system.c
+++ b/x86_64/system.c
@@ -641,9 +641,9 @@ sysdeps_create_boot_params(
*/
if (param_start != NULL) {
CopyMem(bp, param_start, 0x2000);
- free(param_start);
- param_start = NULL;
- param_size = 0;
+ /* keeping param_start might lose some RAM,
+ * but doesn't crash...
+ */
}
/*
* Save off our header revision information.