freebsd-skq/usr.sbin/lpr/chkprintcap
gad 3758fe1240 Fixes to chkprintcap:
- Check the return from a call to malloc() in skim_printcap(), and
  return a NULL if that fails.
- Fix a small memory leak in main() that happens if skim_printcap()
  returns an error, including the new error-return of NULL.

Submitted by:	Tom Rix <trix@juniper.net>
Reviewed by:	pfg, ngie
MFC after:	4 weeks
Sponsored by:	Dell EMC Isilon, Juniper
Differential Revision:	D9954, D9982
2017-03-20 22:36:28 +00:00
..
chkprintcap.8
chkprintcap.c Fixes to chkprintcap: 2017-03-20 22:36:28 +00:00
Makefile Simplify idioms in usr.sbin/lpr Makefiles 2017-03-01 05:14:45 +00:00
Makefile.depend
skimprintcap.c Fixes to chkprintcap: 2017-03-20 22:36:28 +00:00
skimprintcap.h