HomeFreeBSD

diff: always properly kill pr(1)

Description

diff: always properly kill pr(1)

When diff is invoked with -l it will spawn the pr(1) program.
In some circumpstances the pr(1) was not properly killed when diff program
exits.

Submitted by: Bret Ketchum
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D26232

Details

Provenance
baptAuthored on
Differential Revision
D26232: Fix memory leak in diffreg
Parents
rS365040: Fix string overflow that could occur during redirection due to passing
Branches
Unknown
Tags
Unknown