[vlc-commits] substext: fix leak

Francois Cartegnie git at videolan.org
Sat Aug 29 16:33:14 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Aug 29 12:44:53 2015 +0200| [41418deb6d04754b351b4253a631830a41149e45] | committer: Francois Cartegnie

substext: fix leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=41418deb6d04754b351b4253a631830a41149e45
---

 modules/codec/substext.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/substext.h b/modules/codec/substext.h
index aa82224..21346cc 100644
--- a/modules/codec/substext.h
+++ b/modules/codec/substext.h
@@ -112,6 +112,7 @@ static void SubpictureTextDestroy(subpicture_t *subpic)
     subpicture_updater_sys_t *sys = subpic->updater.p_sys;
 
     text_segment_ChainDelete( sys->p_segments );
+    text_style_Delete( sys->p_default_style );
     free(sys);
 }
 



More information about the vlc-commits mailing list