Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
cb2e43a2
Commit
cb2e43a2
authored
Oct 11, 2008
by
hartman
Browse files
vobsub: Resource leak (CID 215)
parent
471fa3a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/demux/vobsub.c
View file @
cb2e43a2
...
...
@@ -729,10 +729,10 @@ static int DemuxVobSub( demux_t *p_demux, block_t *p_bk )
p_bk
->
i_pts
=
0
;
/*only first packet has a pts */
break
;
}
else
if
(
i
==
p_sys
->
i_tracks
-
1
)
{
block_Release
(
p_pkt
);
}
}
if
(
i
>=
p_sys
->
i_tracks
)
{
block_Release
(
p_pkt
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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