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

Cyril Hrubis chrubis@suse.cz
Wed Jul 24 17:24:44 CEST 2024


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


More information about the ltp mailing list