freebsd-skq/sys/geom/journal
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_journal_ufs.c Fix a memory leak introduced in r328426. 2018-02-16 15:41:03 +00:00
g_journal.c Null out journal softc pointer earlier to avoid a segment fault 2018-01-31 23:30:49 +00:00
g_journal.h sys/geom: adoption of SPDX licensing ID tags. 2017-11-27 15:17:37 +00:00