diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-11-12 15:45:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-11-12 15:45:15 +0000 |
commit | 4c776c7ec791ad75d9413f5ae098e9e200fd9d07 (patch) | |
tree | ebeadf76d0830c22915aa0f61621cb9b423c88ea /src/util/test_strings.c | |
parent | c74179c8058cc0d703463d77846a6e1326bf6df7 (diff) | |
download | gnunet-4c776c7ec791ad75d9413f5ae098e9e200fd9d07.tar.gz gnunet-4c776c7ec791ad75d9413f5ae098e9e200fd9d07.zip |
check properly for mmap failures
Diffstat (limited to 'src/util/test_strings.c')
-rw-r--r-- | src/util/test_strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/test_strings.c b/src/util/test_strings.c index be166e629..107bb746c 100644 --- a/src/util/test_strings.c +++ b/src/util/test_strings.c | |||
@@ -90,11 +90,11 @@ check () | |||
90 | GNUNET_free (r); | 90 | GNUNET_free (r); |
91 | return 1; | 91 | return 1; |
92 | } | 92 | } |
93 | GNUNET_free (r); | ||
93 | b = GNUNET_STRINGS_to_utf8 ("TEST", 4, "ASCII"); | 94 | b = GNUNET_STRINGS_to_utf8 ("TEST", 4, "ASCII"); |
94 | WANT ("TEST", b); | 95 | WANT ("TEST", b); |
95 | b = GNUNET_STRINGS_to_utf8 ("TEST", 4, "unknown"); | 96 | b = GNUNET_STRINGS_to_utf8 ("TEST", 4, "unknown"); |
96 | WANT ("TEST", b); | 97 | WANT ("TEST", b); |
97 | GNUNET_free (r); | ||
98 | return 0; | 98 | return 0; |
99 | } | 99 | } |
100 | 100 | ||