Re: [LTP] [PATCH v2 5/7] Add ioctl_ficlonerange01 test

Cyril Hrubis
2024-07-24T15:25:36Z

Hi!
Pushed with a minor change, thanks.

> +static void cleanup(void)
> +{
> + if (buff)
> + free(buff);
> +
> + if (data)
> + free(data);

free(NULL) is no-op so I've removed the two ifs here.

--
Cyril Hrubis
chrubis@suse.cz