[libbluray-devel] bd handle wasn't closed in list_titles example.

Ferdinand Holzer git at videolan.org
Fri Aug 17 12:53:23 CEST 2012


libbluray | branch: master | Ferdinand Holzer <holzer at grg21.ac.at> | Sun May 27 21:42:51 2012 +0200| [dec829ac71e897b4c7f7d407b5a9b20bc0c2c97b] | committer: hpi1

bd handle wasn't closed in list_titles example.

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

 src/examples/list_titles.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/examples/list_titles.c b/src/examples/list_titles.c
index a987951..14679f7 100644
--- a/src/examples/list_titles.c
+++ b/src/examples/list_titles.c
@@ -96,5 +96,6 @@ int main(int argc, char *argv[])
         );
         bd_free_title_info(ti);
     }
+    bd_close(bd);
     return 0;
 }



More information about the libbluray-devel mailing list