projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strerror_r: avoid clobbering strerror on cygwin
[gnulib.git]
/
tests
/
test-perror2.c
diff --git
a/tests/test-perror2.c
b/tests/test-perror2.c
index
fe5e33e
..
d8e0ec5
100644
(file)
--- a/
tests/test-perror2.c
+++ b/
tests/test-perror2.c
@@
-86,6
+86,11
@@
main (void)
ASSERT (msg2 == msg4 || STREQ (msg2, str2));
ASSERT (msg3 == msg4 || STREQ (msg3, str3));
ASSERT (STREQ (msg4, str4));
+
+ free (str1);
+ free (str2);
+ free (str3);
+ free (str4);
}
/* Test that perror uses the same message as strerror. */