Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
e70836d3
Commit
e70836d3
authored
Nov 22, 2003
by
Eric Petit
Browse files
src/misc/block.c: added a missing vlc_mutex_destroy()
parent
eae53f7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/block.c
View file @
e70836d3
...
...
@@ -2,7 +2,7 @@
* block.c: Data blocks management functions
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: block.c,v 1.
3
2003/1
0/08 21:01:07 gbazin
Exp $
* $Id: block.c,v 1.
4
2003/1
1/22 04:02:10 titer
Exp $
*
* Authors: Laurent Aimar <fenrir@videolan.org>
*
...
...
@@ -52,6 +52,7 @@ static void BlockRelease( block_t *p_block )
if
(
p_block
->
p_sys
->
i_duplicated
<
0
)
{
vlc_mutex_unlock
(
&
p_block
->
p_sys
->
lock
);
vlc_mutex_destroy
(
&
p_block
->
p_sys
->
lock
);
free
(
p_block
->
p_sys
->
p_allocated_buffer
);
free
(
p_block
->
p_sys
);
free
(
p_block
);
...
...
Write
Preview
Supports
Markdown
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