diff options
Diffstat (limited to 'src/testcurl/https/tls_daemon_options_test.c')
-rw-r--r-- | src/testcurl/https/tls_daemon_options_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testcurl/https/tls_daemon_options_test.c b/src/testcurl/https/tls_daemon_options_test.c index 2575c340..b388f24d 100644 --- a/src/testcurl/https/tls_daemon_options_test.c +++ b/src/testcurl/https/tls_daemon_options_test.c | |||
@@ -183,6 +183,7 @@ test_https_transfer (FILE * test_fd, char *cipher_suite, int proto_version) | |||
183 | { | 183 | { |
184 | fprintf (stderr, "Error: failed to read test file. %s\n", | 184 | fprintf (stderr, "Error: failed to read test file. %s\n", |
185 | strerror (errno)); | 185 | strerror (errno)); |
186 | free (mem_test_file_local); | ||
186 | free (doc_path); | 187 | free (doc_path); |
187 | return -1; | 188 | return -1; |
188 | } | 189 | } |
@@ -190,6 +191,7 @@ test_https_transfer (FILE * test_fd, char *cipher_suite, int proto_version) | |||
190 | if (NULL == (cbc.buf = malloc (sizeof (char) * len))) | 191 | if (NULL == (cbc.buf = malloc (sizeof (char) * len))) |
191 | { | 192 | { |
192 | fprintf (stderr, MHD_E_MEM); | 193 | fprintf (stderr, MHD_E_MEM); |
194 | free (mem_test_file_local); | ||
193 | free (doc_path); | 195 | free (doc_path); |
194 | return -1; | 196 | return -1; |
195 | } | 197 | } |