Clear the list before returning so that it's idempotent when it
succeeds.
While here, use TAILQ_FOREACH_SAFE in the loop which unregisters OIDs.
Differential D45041
sysctl: Make sysctl_ctx_free() a bit safer markj on Wed, May 1, 12:00 PM. Authored by
Details Clear the list before returning so that it's idempotent when it While here, use TAILQ_FOREACH_SAFE in the loop which unregisters OIDs.
Diff Detail
|