summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-09-21 02:27:03 +0300
committerwm4 <wm4@nowhere>2012-10-30 19:50:17 +0100
commit85dbd9b8f6191a1f35ee4f9307b376874f977eb7 (patch)
treeabdd2f9eb6fe1527ee76b20c745315965ffcad57 /stream
parent616047c6186141691e856083683552b94217fbcb (diff)
downloadmpv-85dbd9b8f6191a1f35ee4f9307b376874f977eb7.tar.bz2
mpv-85dbd9b8f6191a1f35ee4f9307b376874f977eb7.tar.xz
stream_ftp: fix double free in one error case
Diffstat (limited to 'stream')
-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;
}