projects
/
platform
/
upstream
/
libarchive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 3.3.0
[platform/upstream/libarchive.git]
/
cpio
/
test
/
test_option_J_upper.c
diff --git
a/cpio/test/test_option_J_upper.c
b/cpio/test/test_option_J_upper.c
index
532aacf
..
1d7d051
100644
(file)
--- a/
cpio/test/test_option_J_upper.c
+++ b/
cpio/test/test_option_J_upper.c
@@
-47,10
+47,13
@@
DEFINE_TEST(test_option_J_upper)
}
failure("-J option is broken");
assertEqualInt(r, 0);
-
return
;
+
goto done
;
}
+ free(p);
/* Check that the archive file has an xz signature. */
p = slurpfile(&s, "archive.out");
assert(s > 2);
assertEqualMem(p, "\3757zXZ", 5);
+done:
+ free(p);
}