]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r289687,r289693:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 9 Nov 2015 08:03:15 +0000 (08:03 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 9 Nov 2015 08:03:15 +0000 (08:03 +0000)
commitf8b97f17908218e2b614955002b709e61ee6204c
tree2a550730d369ccba44c5f3724e56b65c7de0149c
parent7039d279d092593715e89260a9be76743a39c5c6
MFC r289687,r289693:

r289687:

Free buffer before returning from cd9660_write_path_table to avoid
leaking it after returning from the function

PR: 203647
Submitted by: Thomas Schmitt <scdbackup@gmx.net>
Coverity CID: 978431
Sponsored by: EMC / Isilon Storage Division

r289693:

Unbreak makefs -t cd9660 after r289687

buffer_head needs to be freed -- not buffer

Detected by jemalloc, i.e. running makefs failed the arena assert
because my copy of malloc on CURRENT is compiled with the default
!MALLOC_PRODUCTION asserts on

Pointyhat to: ngie
PR: 203647
Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/10@290587 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/makefs/cd9660/cd9660_write.c