[libbluray-devel] Fix leak
hpi1
git at videolan.org
Mon Jan 25 12:49:57 CET 2016
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Jan 25 13:43:56 2016 +0200| [1639cf7a90622aab06a32ba0fd1c2ba485a896ae] | committer: hpi1
Fix leak
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=1639cf7a90622aab06a32ba0fd1c2ba485a896ae
---
src/examples/mpls_dump.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/examples/mpls_dump.c b/src/examples/mpls_dump.c
index 619b6b2..405b6a1 100644
--- a/src/examples/mpls_dump.c
+++ b/src/examples/mpls_dump.c
@@ -781,6 +781,8 @@ main(int argc, char *argv[])
}
free(dirlist);
free(path);
+ closedir(dir);
+ dir = NULL;
} else {
pl = _process_file(argv[ii], pl_list, pl_ii);
if (pl != NULL) {
More information about the libbluray-devel
mailing list