Fix double free in demux_nut, patch by Onur Küçük.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27764 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ods15 2008-10-13 22:32:20 +00:00
parent 7b64ef7fd4
commit 505834ccb8
1 changed files with 0 additions and 2 deletions

View File

@ -86,8 +86,6 @@ static demuxer_t * demux_open_nut(demuxer_t * demuxer) {
while ((ret = nut_read_headers(nut, &s, NULL)) == NUT_ERR_EAGAIN);
if (ret) {
mp_msg(MSGT_HEADER, MSGL_ERR, "NUT error: %s\n", nut_error(ret));
nut_demuxer_uninit(nut);
free(priv);
return NULL;
}