Skip to content

Commit 7590cc7

Browse files
committed
remove unnecessary free operation
1 parent 34b4f14 commit 7590cc7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

libc/test/src/__support/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ add_libc_test(
265265
libc.src.stdlib.strtof
266266
libc.src.stdlib.strtod
267267
libc.src.stdlib.getenv
268-
libc.src.stdlib.free
269268
libc.src.string.strtok
270269
libc.src.string.strdup
271270
libc.src.__support.CPP.bit

libc/test/src/__support/str_to_float_comparison_test.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "src/stdio/fgets.h"
1212
#include "src/stdio/fopen.h"
1313
#include "src/stdio/printf.h"
14-
#include "src/stdlib/free.h"
1514
#include "src/stdlib/getenv.h"
1615
#include "src/stdlib/strtod.h"
1716
#include "src/stdlib/strtof.h"
@@ -168,8 +167,6 @@ TEST(LlvmLibcStrToFloatComparisonTest, CheckFile) {
168167
}
169168
}
170169

171-
LIBC_NAMESPACE::free(files);
172-
173170
EXPECT_EQ(result, 0);
174171
EXPECT_EQ(fails, 0);
175172
EXPECT_EQ(bitdiffs, 0);

0 commit comments

Comments
 (0)