From b6be8457f7b612ce7b8ad05e77e09a3800ee252b Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 7 Mar 2011 11:11:58 +0100 Subject: [PATCH] Fixed a memory hog introduced with rev 775. --- libisofs/ecma119.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libisofs/ecma119.c b/libisofs/ecma119.c index b1fc32b..b2c0c6f 100644 --- a/libisofs/ecma119.c +++ b/libisofs/ecma119.c @@ -1843,8 +1843,7 @@ int ecma119_image_new(IsoImage *src, IsoWriteOpts *opts, Ecma119Image **img) if (target->iso1999) { nwriters++; } - if (target->tail_blocks > 0) - nwriters++; + nwriters++; /* Tail padding writer */ if ((target->md5_file_checksums & 1) || target->md5_session_checksum) { nwriters++; image_checksums_mad = 1; /* from here on the loaded checksums are