Changeset eb85f7afc2685c9973973a8d6c1a4530c6b77972
- Timestamp:
- 03/17/08 21:33:44
(4 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1205786024 +0100
- git-parent:
[cd3ea880421919b66e627b4721d23e53989002bf]
- git-author:
- Rafaël Carré <funman@videolan.org> 1205785929 +0100
- Message:
Fix #1487
Don't use an object after releasing it
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rf00a8d3 |
reb85f7a |
|
| 109 | 109 | { |
|---|
| 110 | 110 | delCallbacks(); |
|---|
| 111 | | vlc_object_release( p_input ); |
|---|
| 112 | 111 | i_old_playing_status = END_S; |
|---|
| 113 | | |
|---|
| 114 | 112 | i_input_id = 0; |
|---|
| 115 | 113 | old_name = ""; |
|---|
| 116 | 114 | artUrl = ""; |
|---|
| 117 | | p_input = NULL; |
|---|
| 118 | 115 | emit positionUpdated( 0.0, 0 ,0 ); |
|---|
| 119 | 116 | emit statusChanged( END_S ); |
|---|
| … | … | |
| 121 | 118 | emit artChanged( "" ); |
|---|
| 122 | 119 | emit rateChanged( INPUT_RATE_DEFAULT ); |
|---|
| | 120 | vlc_object_release( p_input ); |
|---|
| | 121 | p_input = NULL; |
|---|
| 123 | 122 | } |
|---|
| 124 | 123 | } |
|---|