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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_ftp.c b/stream/stream_ftp.c
index 69dc326641..00027d5205 100644
--- a/stream/stream_ftp.c
+++ b/stream/stream_ftp.c
@@ -377,7 +377,7 @@ static void close_f(stream_t *s) {
FtpSendCmd("QUIT",p,NULL);
if(p->handle) closesocket(p->handle);
- if(p->buf) free(p->buf);
+ free(p->buf);
m_struct_free(&stream_opts,p);
}