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:
f9894b7
)
wimlib_iterate_dir_tree(): free d_full_path after using
author
Eric Biggers
<ebiggers3@gmail.com>
Mon, 19 Oct 2015 00:39:33 +0000
(19:39 -0500)
committer
Eric Biggers
<ebiggers3@gmail.com>
Mon, 19 Oct 2015 00:49:16 +0000
(19:49 -0500)
src/iterate_dir.c
patch
|
blob
|
history
diff --git
a/src/iterate_dir.c
b/src/iterate_dir.c
index 7cc7f0f5d07a6eb4c324ef7e451728d26290e82b..9fed454ab6b45d63477e8ee1897820088b031eea 100644
(file)
--- a/
src/iterate_dir.c
+++ b/
src/iterate_dir.c
@@
-219,6
+219,8
@@
do_iterate_dir_tree(WIMStruct *wim,
}
}
out_free_wimlib_dentry:
+ FREE(dentry->d_full_path);
+ dentry->d_full_path = NULL;
free_wimlib_dentry(wdentry);
out:
return ret;