Changeset 0c7849a6a0e9adc04c539df6716329bd9996a56f
- Timestamp:
- 01/04/08 22:13:46
(7 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1207080826 +0200
- git-parent:
[a3ee25ff101492092d75c2e79e1cd0c84949d278]
- git-author:
- Rafaël Carré <funman@videolan.org> 1207080826 +0200
- Message:
Fix media library reference counting
Please TEST your changes before pushing
At least, READ the code instead of modifying it blindly
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r800b605 |
r0c7849a |
|
| 399 | 399 | static void ML_Decref( playlist_item_t *p_node ) |
|---|
| 400 | 400 | { |
|---|
| | 401 | vlc_gc_decref( p_node->p_input ); |
|---|
| | 402 | |
|---|
| 401 | 403 | int i; |
|---|
| 402 | 404 | if( p_node->i_children > 0 ) |
|---|
| … | … | |
| 483 | 485 | } |
|---|
| 484 | 486 | |
|---|
| | 487 | vlc_gc_incref( p_playlist->p_ml_category->p_input ); |
|---|
| 485 | 488 | playlist_MLDump( p_playlist ); |
|---|
| 486 | 489 | /* We don't need the media library anymore */ |
|---|