[usr/src/usr.sbin/lpr/common_source/ctlinfo.c:294]: (error) Resource leak: cfile Source code is if (cstart == NULL) return NULL;
Confirmed by Coverity: CID 1006860 (#1 of 1): Resource leak (RESOURCE_LEAK) 5. leaked_storage: Variable cfile going out of scope leaks the storage it points to.
A commit references this bug: Author: gad Date: Mon Mar 12 01:41:16 UTC 2018 New revision: 330787 URL: https://svnweb.freebsd.org/changeset/base/330787 Log: Fix the resource leak of a 'FILE *' which could happen in routine ctl_readcf() if a call to malloc failed. PR: 204955 Reported by: David Binderman Changes: head/usr.sbin/lpr/common_source/ctlinfo.c