# HG changeset patch # User ods15 # Date 1223937140 0 # Node ID 48fbac972d033022896206bea629a67ec547a22d # Parent 85a9b1052a44506e05faf330cc57975c4d021db4 Fix double free in demux_nut, patch by Onur K¸«ä¸«®¸«äk. diff -r 85a9b1052a44 -r 48fbac972d03 libmpdemux/demux_nut.c --- a/libmpdemux/demux_nut.c Mon Oct 13 22:25:35 2008 +0000 +++ b/libmpdemux/demux_nut.c Mon Oct 13 22:32:20 2008 +0000 @@ -86,8 +86,6 @@ 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; }