Fixed a memory hog introduced with rev 775.

This commit is contained in:
Thomas Schmitt 2011-03-07 11:11:58 +01:00
parent 1238c19494
commit b6be8457f7

View File

@ -1843,8 +1843,7 @@ int ecma119_image_new(IsoImage *src, IsoWriteOpts *opts, Ecma119Image **img)
if (target->iso1999) { if (target->iso1999) {
nwriters++; nwriters++;
} }
if (target->tail_blocks > 0) nwriters++; /* Tail padding writer */
nwriters++;
if ((target->md5_file_checksums & 1) || target->md5_session_checksum) { if ((target->md5_file_checksums & 1) || target->md5_session_checksum) {
nwriters++; nwriters++;
image_checksums_mad = 1; /* from here on the loaded checksums are image_checksums_mad = 1; /* from here on the loaded checksums are