[vlc-devel] [PATCH 2/7] subpicture: fix memory leak of chained segments
Hannes Domani
ssbssa at yahoo.de
Fri Feb 26 17:49:16 CET 2016
---
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 );
}
--
2.7.1
More information about the vlc-devel
mailing list