Changeset 09715dbfbee76a6d293027cde19cd8c0b1d23a1c
- Timestamp:
- 29/12/07 15:25:14
(11 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1198938314 +0000
- git-parent:
[dcebfbb0b3ec5f01c7311ce2af6aaa542c34eeb4]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1198938314 +0000
- Message:
playlist/item.c: Properly release the input_item as pointed by funman.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra19eff6 |
r09715db |
|
| 296 | 296 | i_ret = playlist_AddInput( p_playlist, p_input, i_mode, i_pos, b_playlist, |
|---|
| 297 | 297 | b_locked ); |
|---|
| | 298 | int i_id = i_ret == VLC_SUCCESS ? p_input->i_id : -1 |
|---|
| | 299 | |
|---|
| 298 | 300 | vlc_gc_decref( p_input ); |
|---|
| 299 | | if( i_ret == VLC_SUCCESS ) |
|---|
| 300 | | return p_input->i_id; |
|---|
| 301 | | return -1; |
|---|
| | 301 | |
|---|
| | 302 | return i_id; |
|---|
| 302 | 303 | } |
|---|
| 303 | 304 | |
|---|