[PATCH] lib: fwts_pipeio: set *list to NULL on fwts_pipe_read error

Jeremy Kerr jk at ozlabs.org
Tue May 3 07:37:40 UTC 2016


Hi Colin,

> @@ -287,7 +287,7 @@ int fwts_pipe_exec(const char *command, fwts_list **list, int *status)
>  		*list = fwts_list_from_text(text);
>  		free(text);
>  	} else {
> -		list = NULL;
> +		*list = NULL;

D'oh! Sorry about that.

Acked-by: Jeremy Kerr <jk at ozlabs.org>

Cheers,


Jeremy



More information about the fwts-devel mailing list