Changeset 7ca4e3eb624251feb1f97cfc25104cce473e04a0
- Timestamp:
- 02/08/08 05:24:36
(4 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1217647476 +0200
- git-parent:
[875cd3dde62952d9fd9f3ec684a87fd5ea0732c6]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1217647476 +0200
- Message:
playlist: Make sure we don't pl_Release(p_playlist).
In those case the pl_* API doesn't seems convienent/well used.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| red34445 |
r7ca4e3e |
|
| 355 | 355 | if( p_playlist ) |
|---|
| 356 | 356 | { |
|---|
| 357 | | pl_Release( p_playlist ); |
|---|
| | 357 | vlc_object_release( p_playlist ); |
|---|
| 358 | 358 | } |
|---|
| 359 | 359 | #if 0 |
|---|
| rd057b0d |
r7ca4e3e |
|
| 425 | 425 | var_DelCallback( p_playlist, "item-append", ItemAppended, this ); |
|---|
| 426 | 426 | var_DelCallback( p_playlist, "item-deleted", ItemDeleted, this ); |
|---|
| 427 | | pl_Release( p_playlist ); |
|---|
| | 427 | vlc_object_release( p_playlist ); |
|---|
| 428 | 428 | } |
|---|
| 429 | 429 | |
|---|
| ra2174f0 |
r7ca4e3e |
|
| 188 | 188 | var_DelCallback( p_playlist, "item-append", ItemAppended, this ); |
|---|
| 189 | 189 | var_DelCallback( p_playlist, "item-deleted", ItemDeleted, this ); |
|---|
| 190 | | pl_Release( p_playlist ); |
|---|
| | 190 | vlc_object_release( p_playlist ); |
|---|
| 191 | 191 | } |
|---|
| 192 | 192 | |
|---|
| r858fa11 |
r7ca4e3e |
|
| 57 | 57 | void vlclua_release_playlist_internal( playlist_t *p_playlist ) |
|---|
| 58 | 58 | { |
|---|
| 59 | | pl_Release( p_playlist ); |
|---|
| | 59 | vlc_object_release( p_playlist ); |
|---|
| 60 | 60 | } |
|---|
| 61 | 61 | |
|---|