avformat/matroskadec: free the packet on webvtt side data allocation failure
authorJames Almer <jamrial@gmail.com>
Tue, 20 Feb 2018 13:25:54 +0000 (10:25 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 20 Feb 2018 13:25:54 +0000 (10:25 -0300)
commit88eb368f4210fc2975666f9cb89504b3374094ab
treeaeb8d1d1261b5100f1def340ffb316cd0cecf635
parentacdea9e7c56b74b05c56b4733acc855b959ba073
avformat/matroskadec: free the packet on webvtt side data allocation failure

Fixes potential memory leaks

Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/matroskadec.c