diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/test/test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/test/test.c b/src/regress/lib/libcrypto/test/test.c index ca3149217a..8e25b004d2 100644 --- a/src/regress/lib/libcrypto/test/test.c +++ b/src/regress/lib/libcrypto/test/test.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: test.c,v 1.2 2025/05/31 08:23:46 tb Exp $ */ | 1 | /* $OpenBSD: test.c,v 1.3 2025/05/31 11:29:59 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2025 Joshua Sing <joshua@joshuasing.dev> | 3 | * Copyright (c) 2025 Joshua Sing <joshua@joshuasing.dev> |
4 | * | 4 | * |
@@ -74,6 +74,7 @@ test_init(void) | |||
74 | err(1, "mkstemp"); | 74 | err(1, "mkstemp"); |
75 | 75 | ||
76 | unlink(tmp_file); | 76 | unlink(tmp_file); |
77 | free(tmp_file); | ||
77 | if ((t->out = fdopen(out_fd, "w+")) == NULL) | 78 | if ((t->out = fdopen(out_fd, "w+")) == NULL) |
78 | err(1, "fdopen"); | 79 | err(1, "fdopen"); |
79 | 80 | ||