[vlc-commits] commit: Fixed potential memleaks in avformat wrapper. ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Thu Apr 15 18:54:44 CEST 2010
vlc/vlc-1.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Apr 15 19:49:20 2010 +0300| [431748eebcc5e79490324ea61b40f2565e1613ed] | committer: Rémi Denis-Courmont
Fixed potential memleaks in avformat wrapper.
(cherry picked from commit bee1e640081f8013f058fd147d6d4d80d20f47b0)
Conflicts:
modules/demux/avformat/demux.c
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.0.git/?a=commit;h=431748eebcc5e79490324ea61b40f2565e1613ed
---
modules/demux/avformat/demux.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index f50e818..7fe2a47 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -394,6 +394,7 @@ static int Demux( demux_t *p_demux )
if( ( p_frame = block_New( p_demux, pkt.size ) ) == NULL )
{
+ av_free_packet( &pkt );
return 0;
}
More information about the vlc-commits
mailing list