Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
25b8641d
Commit
25b8641d
authored
Apr 24, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix input item leaking
parent
1b069355
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
2 deletions
+8
-2
modules/control/rc.c
modules/control/rc.c
+4
-2
modules/gui/wxwidgets/dialogs/playlist.cpp
modules/gui/wxwidgets/dialogs/playlist.cpp
+1
-0
modules/gui/wxwidgets/dialogs/wizard.cpp
modules/gui/wxwidgets/dialogs/wizard.cpp
+1
-0
modules/services_discovery/upnp_cc.cpp
modules/services_discovery/upnp_cc.cpp
+1
-0
modules/services_discovery/upnp_intel.cpp
modules/services_discovery/upnp_intel.cpp
+1
-0
No files found.
modules/control/rc.c
View file @
25b8641d
...
...
@@ -1431,9 +1431,11 @@ static int Playlist( vlc_object_t *p_this, char const *psz_cmd,
if
(
p_item
)
{
msg_rc
(
"Trying to add %s to playlist."
,
newval
.
psz_string
);
i
f
(
playlist_AddInput
(
p_playlist
,
p_item
,
i
nt
i_ret
=
playlist_AddInput
(
p_playlist
,
p_item
,
PLAYLIST_GO
|
PLAYLIST_APPEND
,
PLAYLIST_END
,
true
,
false
)
!=
VLC_SUCCESS
)
false
);
vlc_gc_decref
(
p_item
);
if
(
i_ret
!=
VLC_SUCCESS
)
{
return
VLC_EGENERIC
;
}
...
...
modules/gui/wxwidgets/dialogs/playlist.cpp
View file @
25b8641d
...
...
@@ -1290,6 +1290,7 @@ bool PlaylistFileDropTarget::OnDropFiles( wxCoord x, wxCoord y,
psz_utf8
,
psz_utf8
);
int
i_ret
=
(
playlist_NodeAddInput
(
p
->
p_playlist
,
p_input
,
p_dest
,
PLAYLIST_PREPARSE
,
i_pos
,
false
)
!=
VLC_SUCCESS
);
vlc_gc_decref
(
p_input
);
wxDnDLocaleFree
(
psz_utf8
);
if
(
i_ret
!=
VLC_SUCCESS
)
return
FALSE
;
...
...
modules/gui/wxwidgets/dialogs/wizard.cpp
View file @
25b8641d
...
...
@@ -1635,6 +1635,7 @@ void WizardDialog::Run()
/* FIXME: playlist_AddInput() can fail */
playlist_AddInput
(
p_playlist
,
p_input
,
PLAYLIST_GO
,
PLAYLIST_END
,
true
,
false
);
vlc_gc_decref
(
p_input
);
vlc_object_release
(
p_playlist
);
}
else
...
...
modules/services_discovery/upnp_cc.cpp
View file @
25b8641d
...
...
@@ -221,6 +221,7 @@ void UPnPHandler::AddContent( playlist_item_t *p_parent, ContentNode *node )
playlist_BothAddInput
(
p_playlist
,
p_input
,
p_parent
,
PLAYLIST_APPEND
,
PLAYLIST_END
,
NULL
,
NULL
,
false
);
vlc_gc_decref
(
p_input
);
}
else
if
(
node
->
isContainerNode
()
)
{
ContainerNode
*
conNode
=
(
ContainerNode
*
)
node
;
...
...
modules/services_discovery/upnp_intel.cpp
View file @
25b8641d
...
...
@@ -875,6 +875,7 @@ void MediaServer::_buildPlaylist( Container* parent )
playlist_BothAddInput
(
p_playlist
,
p_input
,
parentNode
,
PLAYLIST_APPEND
,
PLAYLIST_END
,
&
i_cat
,
NULL
,
false
);
vlc_gc_decref
(
p_input
);
/* TODO: do this better by storing ids */
playlist_item_t
*
p_node
=
playlist_ItemGetById
(
p_playlist
,
i_cat
,
false
);
assert
(
p_node
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment