Changeset 5d7f2974b7425bf51383b601229aa059964b6df4
- Timestamp:
- 12/21/07 15:57:24
(9 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1198249044 +0000
- git-parent:
[948bec760148d6241d8ea36d264d4f1873c2aaee]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1198249044 +0000
- Message:
modules/services_discovery/shout.c: Don't leak the input_item.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r3828287 |
r5d7f297 |
|
| 140 | 140 | break; |
|---|
| 141 | 141 | } |
|---|
| | 142 | vlc_gc_decref( p_sys->p_input ); /* Refcount to 1, so we can release it |
|---|
| | 143 | * in Close() */ |
|---|
| | 144 | |
|---|
| 142 | 145 | input_ItemAddOption( p_sys->p_input, "no-playlist-autostart" ); |
|---|
| 143 | 146 | return VLC_SUCCESS; |
|---|
| … | … | |
| 172 | 175 | services_discovery_t *p_sd = ( services_discovery_t* )p_this; |
|---|
| 173 | 176 | services_discovery_sys_t *p_sys = p_sd->p_sys; |
|---|
| | 177 | vlc_gc_decref( p_sys->p_input ); |
|---|
| 174 | 178 | free( p_sys ); |
|---|
| 175 | 179 | } |
|---|