git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43888a7
)
extract_trees(): Correctly destroy stream list in error path
author
Eric Biggers
<ebiggers3@gmail.com>
Sat, 18 Jan 2014 19:18:44 +0000
(13:18 -0600)
committer
Eric Biggers
<ebiggers3@gmail.com>
Sat, 18 Jan 2014 19:18:44 +0000
(13:18 -0600)
src/extract.c
patch
|
blob
|
history
diff --git
a/src/extract.c
b/src/extract.c
index 98ccccad5221f974e0fbdaf0912cca29fe2b012f..9cbac117f54438d25372c90cb43dd4df4c327bb5 100644
(file)
--- a/
src/extract.c
+++ b/
src/extract.c
@@
-2509,7
+2509,7
@@
extract_trees(WIMStruct *wim, struct wim_dentry **trees, size_t num_trees,
INIT_LIST_HEAD(&ctx.stream_list);
ret = dentry_list_ref_streams(&dentry_list, &ctx);
if (ret)
- goto out_
finish_or_abort_extrac
t;
+ goto out_
destroy_stream_lis
t;
if (extract_flags & WIMLIB_EXTRACT_FLAG_FROM_PIPE) {
/* When extracting from a pipe, the number of bytes of data to