Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
8f629e45
Commit
8f629e45
authored
Dec 10, 2015
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4: selector: Fix leak on unhandled command
parent
4f412dbc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+3
-1
No files found.
modules/gui/qt4/components/playlist/selector.cpp
View file @
8f629e45
...
@@ -367,7 +367,9 @@ void PLSelector::setSource( QTreeWidgetItem *item )
...
@@ -367,7 +367,9 @@ void PLSelector::setSource( QTreeWidgetItem *item )
services_discovery_descriptor_t
*
p_test
=
new
services_discovery_descriptor_t
;
services_discovery_descriptor_t
*
p_test
=
new
services_discovery_descriptor_t
;
int
i_ret
=
playlist_ServicesDiscoveryControl
(
THEPL
,
qtu
(
qs
),
SD_CMD_DESCRIPTOR
,
p_test
);
int
i_ret
=
playlist_ServicesDiscoveryControl
(
THEPL
,
qtu
(
qs
),
SD_CMD_DESCRIPTOR
,
p_test
);
if
(
i_ret
==
VLC_SUCCESS
&&
p_test
->
i_capabilities
&
SD_CAP_SEARCH
)
if
(
i_ret
!=
VLC_SUCCESS
)
delete
p_test
;
else
if
(
p_test
->
i_capabilities
&
SD_CAP_SEARCH
)
item
->
setData
(
0
,
CAP_SEARCH_ROLE
,
true
);
item
->
setData
(
0
,
CAP_SEARCH_ROLE
,
true
);
}
}
}
}
...
...
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