Project

General

Profile

Actions

Feature #12333

closed

loader: replace zfs_alloc/zfs_free with malloc/free

Added by Toomas Soome about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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).

Actions #1

Updated by Electric Monk about 1 year ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 3e8c7f16168b2700c28b981ab66ca8ff755c5a5d

commit  3e8c7f16168b2700c28b981ab66ca8ff755c5a5d
Author: Toomas Soome <tsoome@me.com>
Date:   2020-02-27T06:47:21.000Z

    12333 loader: replace zfs_alloc/zfs_free with malloc/free
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: John Levon <john.levon@joyent.com>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Actions

Also available in: Atom PDF