freebsd-skq/cddl
Alexander Motin d49e9be14f MFV r337184: 9457 libzfs_import.c:add_config() has a memory leak
A memory leak occurs on lines 209 and 213 because the config is not freed
in the error case.  The interface to add_config() seems less than ideal -
it would be better if it copied any data necessary from the config and the
caller freed it.

illumos/illumos-gate@ddfe901b12

Reviewed by: Matt Ahrens <matt@delphix.com>
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author:     sara hartse <sara.hartse@delphix.com>
2018-08-02 21:25:32 +00:00
..
compat/opensolaris Honor all options of "zfs mount -o" 2017-09-05 19:28:35 +00:00
contrib/opensolaris MFV r337184: 9457 libzfs_import.c:add_config() has a memory leak 2018-08-02 21:25:32 +00:00
lib Do not blindly include illumos kernel headers instead of user-space. 2018-08-02 18:55:55 +00:00
sbin Do not blindly include illumos kernel headers instead of user-space. 2018-08-02 18:55:55 +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
usr.bin Do not blindly include illumos kernel headers instead of user-space. 2018-08-02 18:55:55 +00:00
usr.sbin Do not blindly include illumos kernel headers instead of user-space. 2018-08-02 18:55:55 +00:00
Makefile Convert traditional ${MK_TESTS} conditional idiom for including test 2017-08-02 08:35:51 +00:00
Makefile.inc Make DTrace stuff compile with C99 standard. 2014-08-22 20:04:51 +00:00