]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r249256 (by ken):
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 9 Oct 2013 18:45:42 +0000 (18:45 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 9 Oct 2013 18:45:42 +0000 (18:45 +0000)
commit005761234f9d30712dfef06fa9266d2566dbd8e1
treef15923929925642c826c077d16bac3a099dae4c2
parent69b7e67be98dba8e58954453ebb860d97dd9f186
MFC r249256 (by ken):
Fix a memory leak that showed up when we delete LUNs.  The memory used for
the LUN was never freed.

ctl.c:          Adjust ctl_alloc_lun() to make sure we don't clear the
                CTL_LUN_MALLOCED flag.

git-svn-id: svn://svn.freebsd.org/base/stable/9@256214 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/cam/ctl/ctl.c