[LTP] [PATCH v4] thp01: Find largest arguments size

Cyril Hrubis chrubis@suse.cz
Mon Sep 25 15:01:58 CEST 2017


Hi!
>  static void cleanup(void)
>  {
> -	free(arg);
> +	if (arg)
> +		free(arg);

free(NULL) is no-op, I've removed this if and pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list