Changeset 800b605ec18ae513c70ab69484455cdeaf7fc3a8
- Timestamp:
- 01/04/08 21:44:33
(6 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1207079073 +0200
- git-parent:
[09ce2046a19146b3992159ddb716d8bab45bc285]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1207079073 +0200
- Message:
playlist: Correctly decref where we use the object.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r09ce204 |
r800b605 |
|
| 399 | 399 | static void ML_Decref( playlist_item_t *p_node ) |
|---|
| 400 | 400 | { |
|---|
| 401 | | vlc_gc_decref( p_node->p_input ); |
|---|
| 402 | | |
|---|
| 403 | 401 | int i; |
|---|
| 404 | 402 | if( p_node->i_children > 0 ) |
|---|
| r09ce204 |
r800b605 |
|
| 181 | 181 | input_item_subitem_added, p_playlist ); |
|---|
| 182 | 182 | |
|---|
| | 183 | vlc_gc_decref( p_input ); |
|---|
| 183 | 184 | free( psz_uri ); |
|---|
| 184 | 185 | return VLC_SUCCESS; |
|---|