HomeFreeBSD

rtsold: fix memory leak in script execution

Description

rtsold: fix memory leak in script execution

Since commit 04e9edb54428, rtsold has leaked the memory for the
argument vector of every script it runs.

Reported by: Coverity
Reviewed by: markj
Fixes: 04e9edb5442826a14616157962361ff81e4a38fe
MFC after: 1 week
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D34355

Details

Provenance
vangyzenAuthored on Feb 23 2022, 4:49 PM
Reviewer
rG04e9edb54428: Capsicumize rtsol(8) and rtsold(8).
Differential Revision
D34355: rtsold: fix memory leak in script execution
Parents
rGa2a8efb4f6c1: rtsold: Use correct error in llflags_get()
Branches
Unknown
Tags
Unknown