loader: replace zfs_alloc/zfs_free with malloc/free
Use malloc/free so the normal checks will be applied. The negative side is that every allocation must be checked against NULL.
Testing done: build/install/boot. (The same change will also land FreeBSD).
Updated by Electric Monk about 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 3e8c7f16168b2700c28b981ab66ca8ff755c5a5d Author: Toomas Soome <email@example.com> Date: 2020-02-27T06:47:21.000Z 12333 loader: replace zfs_alloc/zfs_free with malloc/free Reviewed by: Andrew Stormont <firstname.lastname@example.org> Reviewed by: John Levon <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>