[vlc-commits] ps: fix double free
Rémi Denis-Courmont
git at videolan.org
Wed Aug 20 20:35:15 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 20 21:35:07 2014 +0300| [4fc3c93cfcf10108de3d8a30081257eb8e96b1e0] | committer: Rémi Denis-Courmont
ps: fix double free
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4fc3c93cfcf10108de3d8a30081257eb8e96b1e0
---
modules/demux/ps.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/ps.h b/modules/demux/ps.h
index f443d9f..6112a34 100644
--- a/modules/demux/ps.h
+++ b/modules/demux/ps.h
@@ -676,7 +676,7 @@ static inline int ps_psm_fill( ps_psm_t *p_psm, block_t *p_pkt,
}
}
- tmp_es = realloc_or_free( p_psm->es, sizeof(ps_es_t *) * (p_psm->i_es+1) );
+ tmp_es = realloc( p_psm->es, sizeof(ps_es_t *) * (p_psm->i_es+1) );
if( tmp_es )
{
p_psm->es = tmp_es;
More information about the vlc-commits
mailing list