[parted-devel] [PATCH 2/4] libparted/dasd: update and improve fdasd functions
Brian C. Lane
bcl at redhat.com
Wed Aug 10 23:30:54 UTC 2016
On Fri, Jul 08, 2016 at 10:04:07AM +0200, Hendrik Brueckner wrote:
> + if (anchor->f4 != NULL)
> + free(anchor->f4);
> + if (anchor->f5 != NULL)
> + free(anchor->f5);
> + if (anchor->f7 != NULL)
> + free(anchor->f7);
> + if (anchor->vlabel != NULL)
> + free(anchor->vlabel);
Should these be set to NULL as they're freed? I can't tell if it's
possible for this to be called again. They weren't before so it may be
just fine.
--
Brian C. Lane | Port Orchard, WA (PST8PDT)
More information about the parted-devel
mailing list