[libbluray-devel] Fixed leak

tourettes git at videolan.org
Wed Nov 30 13:39:24 CET 2011


libbluray | branch: master | tourettes <tourettesmp at gmail.com> | Wed Nov 30 14:38:08 2011 +0200| [3b9a9f044644a6abe9cb09377f714ded9fdd6c87] | committer: hpi1

Fixed leak

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

 src/libbluray/bdnav/navigation.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/libbluray/bdnav/navigation.c b/src/libbluray/bdnav/navigation.c
index bce26a7..bf34590 100644
--- a/src/libbluray/bdnav/navigation.c
+++ b/src/libbluray/bdnav/navigation.c
@@ -202,6 +202,7 @@ NAV_TITLE_LIST* nav_get_title_list(const char *root, uint32_t flags, uint32_t mi
     for (ii = 0; ii < title_list->count; ii++) {
         mpls_free(pl_list[ii]);
     }
+    X_FREE(pl_list);
     return title_list;
 }
 



More information about the libbluray-devel mailing list