Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
eb85f7af
Commit
eb85f7af
authored
Mar 17, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #1487
Don't use an object after releasing it
parent
cd3ea880
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+2
-3
No files found.
modules/gui/qt4/input_manager.cpp
View file @
eb85f7af
...
@@ -108,18 +108,17 @@ void InputManager::delInput()
...
@@ -108,18 +108,17 @@ void InputManager::delInput()
if
(
p_input
)
if
(
p_input
)
{
{
delCallbacks
();
delCallbacks
();
vlc_object_release
(
p_input
);
i_old_playing_status
=
END_S
;
i_old_playing_status
=
END_S
;
i_input_id
=
0
;
i_input_id
=
0
;
old_name
=
""
;
old_name
=
""
;
artUrl
=
""
;
artUrl
=
""
;
p_input
=
NULL
;
emit
positionUpdated
(
0.0
,
0
,
0
);
emit
positionUpdated
(
0.0
,
0
,
0
);
emit
statusChanged
(
END_S
);
emit
statusChanged
(
END_S
);
emit
nameChanged
(
""
);
emit
nameChanged
(
""
);
emit
artChanged
(
""
);
emit
artChanged
(
""
);
emit
rateChanged
(
INPUT_RATE_DEFAULT
);
emit
rateChanged
(
INPUT_RATE_DEFAULT
);
vlc_object_release
(
p_input
);
p_input
=
NULL
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
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