[vlc-commits] subpicture: fix memory leak of chained segments
Hannes Domani
git at videolan.org
Fri Feb 26 18:02:04 CET 2016
vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Fri Feb 26 17:49:16 2016 +0100| [6d9e1047cef709da9e1585873ed60a24287d3a35] | committer: Jean-Baptiste Kempf
subpicture: fix memory leak of chained segments
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d9e1047cef709da9e1585873ed60a24287d3a35
---
src/misc/subpicture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/misc/subpicture.c b/src/misc/subpicture.c
index 945e4e9..2638bd0 100644
--- a/src/misc/subpicture.c
+++ b/src/misc/subpicture.c
@@ -246,7 +246,7 @@ void subpicture_region_Delete( subpicture_region_t *p_region )
if( p_region->p_picture )
picture_Release( p_region->p_picture );
- text_segment_Delete( p_region->p_text );
+ text_segment_ChainDelete( p_region->p_text );
free( p_region->fmt.p_palette );
free( p_region );
}
More information about the vlc-commits
mailing list