From 85dbd9b8f6191a1f35ee4f9307b376874f977eb7 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Fri, 21 Sep 2012 02:27:03 +0300 Subject: stream_ftp: fix double free in one error case --- stream/stream_ftp.c | 1 - 1 file changed, 1 deletion(-) (limited to 'stream/stream_ftp.c') 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; } -- cgit v1.2.3