]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r292048:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 17 Dec 2015 06:31:55 +0000 (06:31 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 17 Dec 2015 06:31:55 +0000 (06:31 +0000)
commitd760bf71c5d2d0179c502a4166dca62271957982
treed64317f2378504271e80fde52d5081f90fc1cf97
parent9cba31d9af1ba1b133d53dabf30d5773b78cc5a4
MFC r292048:

Don't leak rsector/sector in mp_label(..)

Use calloc instead of malloc + memset(.., 0, ..) when allocating sector

Differential Revision: https://reviews.freebsd.org/D4450
Reported by: cppcheck
Reviewed by: mav
Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/10@292395 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/geom/class/multipath/geom_multipath.c