Bug#926896: sysvinit-utils: pidof is unreliable

Thorsten Glaser t.glaser at tarent.de
Mon Nov 4 14:00:06 GMT 2019

On Mon, 4 Nov 2019, Hoyer, David wrote:

>  		if (p->statname) free(p->statname);
> -		free(p->pathname);
> +		if (p->pathname) free(p->pathname);

I realise it’s the preexisting style, but free(NULL) is defined and a nop.

15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)

More information about the Debian-init-diversity mailing list