Changeset 6f4778fac7bf7aa82d60ac17e11e45a625012d95
- Timestamp:
- 10/06/06 11:57:45
(2 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1149933465 +0000
- git-parent:
[a1bf965dd5248902f24b0d0ee5279b5f758db02d]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1149933465 +0000
- Message:
* src/playlist/tree.c: fix memory leak.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r65c56bb |
r6f4778f |
|
| 55 | 55 | playlist_item_t *p_item; |
|---|
| 56 | 56 | |
|---|
| 57 | | if( !psz_name ) psz_name = strdup( _("Undefined") ); |
|---|
| | 57 | if( !psz_name ) psz_name = _("Undefined"); |
|---|
| 58 | 58 | p_input = input_ItemNewWithType( VLC_OBJECT(p_playlist), NULL, psz_name, |
|---|
| 59 | 59 | 0, NULL, -1, ITEM_TYPE_NODE ); |
|---|
| … | … | |
| 129 | 129 | vlc_bool_t b_delete_items, vlc_bool_t b_force ) |
|---|
| 130 | 130 | { |
|---|
| 131 | | int i, i_top, i_bottom; |
|---|
| | 131 | int i; |
|---|
| | 132 | |
|---|
| 132 | 133 | if( p_root->i_children == -1 ) |
|---|
| 133 | 134 | { |
|---|