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
Steve Lhomme
VLC
Commits
e4ed088f
Commit
e4ed088f
authored
Jul 22, 2012
by
Rémi Denis-Courmont
Browse files
aout: fix cleanup after error
parent
e1881378
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/audio_output/dec.c
View file @
e4ed088f
...
...
@@ -133,8 +133,11 @@ void aout_Shutdown (audio_output_t *p_aout)
aout_InputDelete
(
p_aout
,
input
);
owner
->
input
=
NULL
;
aout_OutputDelete
(
p_aout
);
aout_volume_Delete
(
owner
->
volume
);
if
(
likely
(
owner
->
module
!=
NULL
))
{
aout_OutputDelete
(
p_aout
);
aout_volume_Delete
(
owner
->
volume
);
}
var_Destroy
(
p_aout
,
"audio-device"
);
var_Destroy
(
p_aout
,
"audio-channels"
);
...
...
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