Browse Source

avformat/avio: fix memory leak in url_find_protocol

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
Yong Lei Michael Niedermayer 9 years ago
parent
commit
7bacf74536
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/avio.c

+ 1
- 0
libavformat/avio.c View File

@@ -282,6 +282,7 @@ static const struct URLProtocol *url_find_protocol(const char *filename)
return up;
}
}
av_freep(&protocols);

return NULL;
}


Loading…
Cancel
Save