+2013-10-19 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * util/grub-mkimagexx.c (make_reloc_section): Fix memory leak.
+ (load_image): Likewise.
+
2013-10-19 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-render-label.c: Move backend part to ...
assert ((current_address + (grub_uint8_t *) *out) == ptr);
}
+ for (lst = lst0; lst; )
+ {
+ struct fixup_block_list *next;
+ next = lst->next;
+ free (lst);
+ lst = next;
+ }
+
return current_address;
}
}
free (kernel_img);
+ free (section_vaddresses);
+ free (section_addresses);
+
return out_img;
}