Mark Johnston 16759360d4 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
..
2018-02-15 15:01:07 +00:00
2018-02-14 18:05:37 +00:00
2018-02-02 15:01:49 +00:00
2018-02-08 22:59:51 +00:00
2017-12-02 00:06:58 +00:00