]> wimlib.net Git - wimlib/commitdiff
win32_apply.c: Fix extraction of non-WIMBoot files in WIMBoot mode
authorEric Biggers <ebiggers3@gmail.com>
Sun, 25 May 2014 12:20:31 +0000 (07:20 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sun, 25 May 2014 12:20:31 +0000 (07:20 -0500)
src/win32_apply.c

index 421db26b0d9a6e6f3321d8ccccd19711dacb5ffa..ecd71831d61518819e74426c165b5728d9d0165a 100644 (file)
@@ -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;
                                            &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;
                } else {
                        FREE(dentry->_full_path);
                        dentry->_full_path = NULL;