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:
a911e31
)
imagex_export(): Fix memory leak on error path
author
Eric Biggers
<ebiggers3@gmail.com>
Tue, 1 Jan 2013 06:07:12 +0000
(
00:07
-0600)
committer
Eric Biggers
<ebiggers3@gmail.com>
Tue, 1 Jan 2013 06:07:12 +0000
(
00:07
-0600)
programs/imagex.c
patch
|
blob
|
history
diff --git
a/programs/imagex.c
b/programs/imagex.c
index 30c2e3e8b289e9cd6b4995dfd0d9332e2a3f2814..30ffd3740cae2ff2cf554ff5ea874eba5bb273cd 100644
(file)
--- a/
programs/imagex.c
+++ b/
programs/imagex.c
@@
-1011,7
+1011,7
@@
static int imagex_export(int argc, const char **argv)
ret = file_writable(dest_wimfile);
if (ret != 0)
-
return re
t;
+
goto ou
t;
dest_ctype = wimlib_get_compression_type(dest_w);
if (compression_type_specified