diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-05-29 13:05:56 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-05-29 13:05:56 -0700 |
commit | bd99aba1ab28288853aa133afc7534126e789332 (patch) | |
tree | 970ef4ebc5f46d945ab626d02c96ff90bd9ac7e9 /.gitmodules | |
parent | b50c169621c3d6fba5c6ddf08a1acd80601c5c93 (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 '.gitmodules')
0 files changed, 0 insertions, 0 deletions