svn commit: r289693 - head/usr.sbin/makefs/cd9660
Garrett Cooper
ngie at FreeBSD.org
Wed Oct 21 12:54:17 UTC 2015
Author: ngie
Date: Wed Oct 21 12:54:15 2015
New Revision: 289693
URL: https://svnweb.freebsd.org/changeset/base/289693
Log:
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
X-MFC with: r289687
Sponsored by: EMC / Isilon Storage Division
Modified:
head/usr.sbin/makefs/cd9660/cd9660_write.c
Modified: head/usr.sbin/makefs/cd9660/cd9660_write.c
==============================================================================
--- head/usr.sbin/makefs/cd9660/cd9660_write.c Wed Oct 21 12:44:51 2015 (r289692)
+++ head/usr.sbin/makefs/cd9660/cd9660_write.c Wed Oct 21 12:54:15 2015 (r289693)
@@ -215,7 +215,7 @@ cd9660_write_path_table(FILE *fd, off_t
ret = cd9660_write_filedata(fd, sector, buffer_head,
path_table_sectors);
- free(buffer);
+ free(buffer_head);
return ret;
}
More information about the svn-src-all
mailing list