summaryrefslogtreecommitdiffstats
path: root/stream/stream_ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_ftp.c')
-rw-r--r--stream/stream_ftp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/stream_ftp.c b/stream/stream_ftp.c
index 00027d5205..53b9e945d1 100644
--- a/stream/stream_ftp.c
+++ b/stream/stream_ftp.c
@@ -417,7 +417,6 @@ static int open_f(stream_t *stream,int mode, void* opts, int* file_format) {
if (readresp(p, NULL) == 0) {
close_f(stream);
- m_struct_free(&stream_opts,opts);
return STREAM_ERROR;
}