]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - tools/regression/lib/libc/nss/test-getaddr.c
MFV r287817: 6220 memleak in l2arc on debug build
authorAndriy Gapon <avg@FreeBSD.org>
Mon, 21 Sep 2015 12:23:01 +0000 (12:23 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Mon, 21 Sep 2015 12:23:01 +0000 (12:23 +0000)
commite88445a48b2a1e2b2ba0dd9a58f49a23cd7b5874
tree6ef9700e2b895e84e1ac26701756986fcc58e48d
parentaa5f023eaf450fbb3fb91d3372b3d9daf8c45475
parentf38dd2a62537b788bb92e99ed679eae074d5265c
MFV r287817: 6220 memleak in l2arc on debug build

https://github.com/illumos/illumos-gate/commit/c546f36aa898d913ff77674fb5ff97f15b2e08b4
https://www.illumos.org/issues/6220
  5408 introduced a memleak in l2arc, namely the member b_thawed gets leaked when
  an arc_hdr is realloced from full to l2only.

Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
Reviewed by: George Wilson <george@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Arne Jansen <sensille@gmx.net>
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c