summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-05-29 13:05:56 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-05-29 13:05:56 -0700
commitbd99aba1ab28288853aa133afc7534126e789332 (patch)
tree970ef4ebc5f46d945ab626d02c96ff90bd9ac7e9 /LICENSE
parentb50c169621c3d6fba5c6ddf08a1acd80601c5c93 (diff)
libstage: only free stage memory when allocated
More preparation for caller-supplied stage memory. As-is this changes nothing functionally since there's no way to supply caller- allocated uninitialized memory to stage_new() yet. There's the .replace capability, but that requires a valid stage in .stage, which could only be gotten correctly via stage_new() originally, so it'll always have the .allocated member set. A future commit will wire up using the .stage member as caller-supplied memory when set in stage_new() without .replace.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved