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
40f255a1
Commit
40f255a1
authored
Mar 28, 2008
by
Pierre d'Herbemont
Browse files
input: No need to call detach() prior to release() in those cases.
parent
4d2821ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
40f255a1
...
...
@@ -399,7 +399,6 @@ int __input_Read( vlc_object_t *p_parent, input_item_t *p_item,
{
input_ChangeState
(
p_input
,
ERROR_S
);
msg_Err
(
p_input
,
"cannot create input thread"
);
vlc_object_detach
(
p_input
);
vlc_object_release
(
p_input
);
return
VLC_EGENERIC
;
}
...
...
@@ -576,7 +575,6 @@ static int RunAndDestroy( input_thread_t *p_input )
exit:
/* Release memory */
vlc_object_detach
(
p_input
);
vlc_object_release
(
p_input
);
return
0
;
}
...
...
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