Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
96b02891
Commit
96b02891
authored
Mar 10, 2012
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluray: Fix a memory leak introduced in previous commit.
parent
3bc5c401
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/access/bluray.c
modules/access/bluray.c
+3
-0
No files found.
modules/access/bluray.c
View file @
96b02891
...
...
@@ -1001,7 +1001,10 @@ static int blurayDemux(demux_t *p_demux)
nread
=
bd_read_ext
(
p_sys
->
bluray
,
p_block
->
p_buffer
,
NB_TS_PACKETS
*
BD_TS_PACKET_SIZE
,
&
e
);
if
(
nread
<
0
)
{
block_Release
(
p_block
);
return
-
1
;
}
if
(
nread
==
0
)
{
if
(
e
.
event
==
BD_EVENT_NONE
)
msg_Info
(
p_demux
,
"We reached the end of a title"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment