From 2cc387fcce7856cc550ad86775f0c6f288aef7ef Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 10 Jun 2012 12:48:22 +0200 Subject: [PATCH] Aborting image generation in case of ISO_OVWRT_FIFO_TOO_SMALL. --- libisofs/ecma119.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libisofs/ecma119.c b/libisofs/ecma119.c index 1505ab7..9a6754f 100644 --- a/libisofs/ecma119.c +++ b/libisofs/ecma119.c @@ -2153,6 +2153,7 @@ int ecma119_image_new(IsoImage *src, IsoWriteOpts *opts, Ecma119Image **img) /* The ring buffer must be large enough to take opts->overwrite */ ret = ISO_OVWRT_FIFO_TOO_SMALL; + goto target_cleanup; } ret = iso_ring_buffer_new(opts->fifo_size, &target->buffer); if (ret < 0) {