In all cases except CTLTYPE_STRING, penv is NULL here, so passing it
indiscriminately to printf() and freeenv() is incorrect.  Add a NULL
check before freeenv(); as for printf(), we could use req.newptr
instead, but we'd have to select the correct format string based on
the type, and that's too much work for an error message, so just
remove it.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@273564 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f