[libbluray-devel] Fix leak

hpi1 git at videolan.org
Wed Dec 30 18:07:54 CET 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Dec 30 19:06:54 2015 +0200| [66cbb03cf2486b2732f353ab6ce69fe9b297d9b7] | committer: hpi1

Fix leak

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

 src/libbluray/decoders/graphics_controller.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/libbluray/decoders/graphics_controller.c b/src/libbluray/decoders/graphics_controller.c
index dabde1c..d3c775a 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -825,6 +825,8 @@ void gc_free(GRAPHICS_CONTROLLER **p)
 
         bd_mutex_destroy(&gc->mutex);
 
+        X_FREE(gc->saved_bog_data);
+
         X_FREE(*p);
     }
 }



More information about the libbluray-devel mailing list