From fee5630a638f27b95b361cee6fa53bb948d82881 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 25 May 2014 07:20:31 -0500 Subject: [PATCH] win32_apply.c: Fix extraction of non-WIMBoot files in WIMBoot mode --- src/win32_apply.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/win32_apply.c b/src/win32_apply.c index 421db26b..ecd71831 100644 --- a/src/win32_apply.c +++ b/src/win32_apply.c @@ -1342,7 +1342,9 @@ begin_extract_stream_instance(const struct wim_lookup_table_entry *stream, &info, ctx->common.progctx); FREE(dentry->_full_path); dentry->_full_path = NULL; - return ret; + if (ret) + return ret; + /* Go on and open the file for normal extraction. */ } else { FREE(dentry->_full_path); dentry->_full_path = NULL; -- 2.43.0