freebsd-dev/lib/libproc
Conrad Meyer ce601a2676 proc_init: Fix a few memory leaks of 'phdl'
In the normal case and correct failure cases, the 'phdl' pointer is passed to
callers to use or clean up as needed.  However, some failure cases returned
early, failing to export the phdl pointer.

This was introduced in the restructuring of r303533.

Reported by:	Coverity
CID:		1361070
Reviewed by:	markj
Sponsored by:	EMC / Isilon Storage Division
2016-08-02 18:13:50 +00:00
..
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
_libproc.h libproc: Add proc_getmodel(). 2016-07-30 03:09:23 +00:00
libproc.h libproc: Add proc_getmodel(). 2016-07-30 03:09:23 +00:00
Makefile libproc: Add proc_getmodel(). 2016-07-30 03:09:23 +00:00
Makefile.depend META MODE: Rework circular dependency guard for librtld_db/libproc. 2015-11-25 19:13:35 +00:00
Makefile.inc Remove WARNS inherited fine by ../Makefile.inc. 2016-02-26 22:14:23 +00:00
proc_bkpt.c Add support for RISC-V ISA. 2016-01-24 12:10:29 +00:00
proc_create.c proc_init: Fix a few memory leaks of 'phdl' 2016-08-02 18:13:50 +00:00
proc_regs.c Add support for RISC-V ISA. 2016-01-24 12:10:29 +00:00
proc_rtld.c libproc: Add proc_getmodel(). 2016-07-30 03:09:23 +00:00
proc_sym.c Fix debug symbols loading in libproc: 0 is a valid file descriptor. 2015-03-13 04:26:48 +00:00
proc_util.c libproc: Add proc_getmodel(). 2016-07-30 03:09:23 +00:00