[libbluray-devel] textst_render: fix leak

hpi1 git at videolan.org
Tue Aug 9 14:02:29 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Aug  8 22:27:00 2016 +0300| [8be8b04eb049fd52e1b886625b57cd9c18088606] | committer: hpi1

textst_render: fix leak

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=8be8b04eb049fd52e1b886625b57cd9c18088606
---

 src/libbluray/decoders/textst_render.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libbluray/decoders/textst_render.c b/src/libbluray/decoders/textst_render.c
index 0e87d4b..967964a 100644
--- a/src/libbluray/decoders/textst_render.c
+++ b/src/libbluray/decoders/textst_render.c
@@ -105,6 +105,7 @@ void textst_render_free(TEXTST_RENDER **pp)
                 }
                 X_FREE(p->font[ii].mem);
             }
+            X_FREE(p->font);
 
             FT_Done_FreeType(p->ft_lib);
         }



More information about the libbluray-devel mailing list