Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
eb85f7af
Commit
eb85f7af
authored
Mar 17, 2008
by
Rafaël Carré
Browse files
Fix #1487
Don't use an object after releasing it
parent
cd3ea880
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/qt4/input_manager.cpp
View file @
eb85f7af
...
...
@@ -108,18 +108,17 @@ void InputManager::delInput()
if
(
p_input
)
{
delCallbacks
();
vlc_object_release
(
p_input
);
i_old_playing_status
=
END_S
;
i_input_id
=
0
;
old_name
=
""
;
artUrl
=
""
;
p_input
=
NULL
;
emit
positionUpdated
(
0.0
,
0
,
0
);
emit
statusChanged
(
END_S
);
emit
nameChanged
(
""
);
emit
artChanged
(
""
);
emit
rateChanged
(
INPUT_RATE_DEFAULT
);
vlc_object_release
(
p_input
);
p_input
=
NULL
;
}
}
...
...
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