freebsd-dev/lib
Richard Yao 4def05f8a6 Fix memory leak in zpool_clear_label()
Clang's static analyzer reported a memory leak in zpool_clear_label().
Upon review, it turns out to be right. This should be a very short lived
leak because no daemons use this functionality, but that does not
preclude the possibility of third party daemons that do use it. Lets fix
it to be a good Samaritan.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2330
2014-05-30 17:00:37 -07:00
..
libavl Remove autotools products 2012-08-27 11:47:44 -07:00
libefi Improve partition detection on lesser used devices 2014-04-08 14:45:12 -07:00
libnvpair Illumos #2619 and #2747 2013-01-08 10:35:35 -08:00
libshare Remove unconditional sharetab update 2014-01-07 09:48:09 -08:00
libspl Omit compiler warning by sticking to RAII 2014-05-22 09:44:15 -07:00
libunicode Remove autotools products 2012-08-27 11:47:44 -07:00
libuutil Remove autotools products 2012-08-27 11:47:44 -07:00
libzfs Fix memory leak in zpool_clear_label() 2014-05-30 17:00:37 -07:00
libzfs_core Illumos #3996 2013-11-05 12:23:11 -08:00
libzpool cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
Makefile.am Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00