freebsd-skq/sys/geom/label
markj 65a57d392f Fix a memory leak introduced in r328426.
ffs_sbget() may return a superblock buffer even if it fails, so the
caller must be prepared to free it in this case. Moreover, when tasting
alternate superblock locations in a loop, ffs_sbget()'s readfunc
callback must free the previously allocated buffer.

Reported and tested by:	pho
Reviewed by:		kib (previous version)
Differential Revision:	https://reviews.freebsd.org/D14390
2018-02-16 15:41:03 +00:00
..
g_label_disk_ident.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_label_ext2fs.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_label_gpt.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_label_iso9660.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_label_msdosfs.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_label_msdosfs.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_label_ntfs.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_label_reiserfs.c sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00
g_label_ufs.c Fix a memory leak introduced in r328426. 2018-02-16 15:41:03 +00:00
g_label.c Don't truncate name of glabel. 2018-01-27 12:28:52 +00:00
g_label.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00