mirror_zfs/lib
liaoyuxiangqin e24e62a948 Fix memory leak in function add_config()
Config of a hot spare or l2cache device will leak memory in function
add_config().  At the start of this function, when dealing with a
config which belongs to a hot spare not currently in use or a l2cache
device the config should be freed.

Signed-off-by: liaoyuxiangqin <guo.yong33@zte.com.cn>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4910
2016-08-01 12:49:03 -07:00
..
libavl Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libefi Fixes for issues found with cppcheck tool 2016-07-27 13:31:22 -07:00
libicp Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
libnvpair Add support for libtirpc 2016-04-28 09:27:40 -07:00
libshare Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libspl Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
libunicode Support parallel build trees (VPATH builds) 2015-07-17 13:42:51 -07:00
libuutil Fixes for issues found with cppcheck tool 2016-07-27 13:31:22 -07:00
libzfs Fix memory leak in function add_config() 2016-08-01 12:49:03 -07:00
libzfs_core OpenZFS 6314 - buffer overflow in dsl_dataset_name 2016-06-28 13:47:03 -07:00
libzpool Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00
Makefile.am Illumos Crypto Port module added to enable native encryption in zfs 2016-07-20 10:43:30 -07:00