matroskadec: reset size when freeing data.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Dec 2012 02:30:40 +0000 (03:30 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Dec 2012 02:50:09 +0000 (03:50 +0100)
commit5e1bacf2d49622f7ba4245f140b7be35972c0529
tree52d54706d7035a9261abe1793e635941e3e6f22b
parent359cd12a43242e3d2682c27a1a0f7dc6b2cfc6fb
matroskadec: reset size when freeing data.

Fixes null pointer dereference

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskadec.c