Changeset 3f5c8f4e99c1ae379cb6a28298180b44df13d218
- Timestamp:
- 04/01/08 22:33:04
(5 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1207081984 +0200
- git-parent:
[bbf6e4fecf2f42178726ddbcf050c03b6e28b749]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1207081984 +0200
- Message:
playlist: rename ML_decref() to recursively_decref(). Please give useful name to function saying what they do.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rbbf6e4f |
r3f5c8f4 |
|
| 397 | 397 | } |
|---|
| 398 | 398 | |
|---|
| 399 | | static void ML_Decref( playlist_item_t *p_node ) |
|---|
| | 399 | static void recursively_decref( playlist_item_t *p_node ) |
|---|
| 400 | 400 | { |
|---|
| 401 | 401 | vlc_gc_decref( p_node->p_input ); |
|---|
| … | … | |
| 404 | 404 | if( p_node->i_children > 0 ) |
|---|
| 405 | 405 | for( i = 0 ; i < p_node->i_children ; i++ ) |
|---|
| 406 | | ML_Decref( p_node->pp_children[i] ); |
|---|
| | 406 | recursively_decref( p_node->pp_children[i] ); |
|---|
| 407 | 407 | } |
|---|
| 408 | 408 | |
|---|
| … | … | |
| 495 | 495 | |
|---|
| 496 | 496 | /* Decref all subitems, and the given items */ |
|---|
| 497 | | ML_Decref( p_playlist->p_ml_category ); |
|---|
| | 497 | recursively_decref( p_playlist->p_ml_category ); |
|---|
| 498 | 498 | |
|---|
| 499 | 499 | PL_LOCK; |
|---|