# HG changeset patch # User reimar # Date 1169909538 0 # Node ID 04b7b7090eeefab1852412a695f89d8f209e340c # Parent 7228d3f4db2adf3d2a46018e1b1f42b0e87716a6 Forgotten free on error diff -r 7228d3f4db2a -r 04b7b7090eee libmpdemux/demux_mkv.c --- a/libmpdemux/demux_mkv.c Sat Jan 27 14:51:59 2007 +0000 +++ b/libmpdemux/demux_mkv.c Sat Jan 27 14:52:18 2007 +0000 @@ -648,6 +648,8 @@ { mp_msg (MSGT_DEMUX, MSGL_WARN, MSGTR_MPDEMUX_MKV_LzoDecompressionFailed); + free(*dest); + *dest = NULL; return modified; } mp_msg (MSGT_DEMUX, MSGL_DBG2,