]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r219722 (by jhb):
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 18 Jun 2011 22:12:17 +0000 (22:12 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 18 Jun 2011 22:12:17 +0000 (22:12 +0000)
commitcc368cb09b52276b96645c694fa7613649893b51
tree64fdd033856ea1ae81ee6f25299f581860f85008
parent1665dcfdcfbe406f16dd00944945f86beea4e460
MFC r219722 (by jhb):
  Preserve errno in an error case.
  Submitted by: gcooper

MFC r222899:
  Contrary to when returning in all-good cases at the end of functions we
  did not free memory (1) or close the file descriptor (2) in error cases.

  Reported by: Mark Johnston (1)
  Reported by: attilio (2)
  Reviewed by: jhb
Sponsored by: Sandvine Incorporated

git-svn-id: svn://svn.freebsd.org/base/stable/8@223274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/mfiutil/mfi_config.c
usr.sbin/mfiutil/mfi_drive.c
usr.sbin/mfiutil/mfi_evt.c
usr.sbin/mfiutil/mfi_flash.c
usr.sbin/mfiutil/mfi_patrol.c
usr.sbin/mfiutil/mfi_show.c
usr.sbin/mfiutil/mfi_volume.c