]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r213174:
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 2 Oct 2010 22:21:01 +0000 (22:21 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 2 Oct 2010 22:21:01 +0000 (22:21 +0000)
commitdbab33f99efa6c3ead7f546684c0184e554e4d36
tree63b9fa2856c51847b8c449e54ed355a149dd90f6
parent8ac1995b8bae5b0b98d612c67b9b4058e789b3ab
MFC r213174:
  Some schemes can allocate memory for internal purposes but when
  GEOM does withering this memory doesn't freed. Add G_PART_DESTROY
  call to g_part_wither. Also add missed g_free() call to G_PART_READ
  method for MBR and PC98 schemes.

  Submitted by: jh (previous version)
  Reviewed by: pjd

Approved by: kib (mentor)

git-svn-id: svn://svn.freebsd.org/base/stable/8@213376 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/part/g_part.c
sys/geom/part/g_part_mbr.c
sys/geom/part/g_part_pc98.c