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
..
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2018-02-14 20:15:32 +00:00
2017-11-27 15:17:37 +00:00
2018-02-16 15:41:03 +00:00
2018-02-16 15:41:03 +00:00
2017-11-27 15:17:37 +00:00
2018-02-06 16:02:33 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2018-01-18 05:57:10 +00:00
2018-02-14 20:26:09 +00:00
2017-12-25 04:48:39 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2018-01-21 15:42:36 +00:00
2017-11-27 15:17:37 +00:00
2018-02-04 14:49:55 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-12-30 02:07:18 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2018-01-15 11:20:00 +00:00
2018-01-15 11:20:00 +00:00
2017-11-27 15:17:37 +00:00
2017-12-31 09:23:52 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2018-02-16 15:41:03 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-12-25 04:48:39 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2017-11-27 15:17:37 +00:00
2018-01-26 00:58:32 +00:00