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
11fa5c5c
Commit
11fa5c5c
authored
Dec 15, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneded test before delete/free.
parent
88014506
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
modules/access/bda/bdagraph.cpp
modules/access/bda/bdagraph.cpp
+5
-9
No files found.
modules/access/bda/bdagraph.cpp
View file @
11fa5c5c
...
...
@@ -38,7 +38,6 @@ extern "C" {
void
dvb_deleteBDAGraph
(
access_t
*
p_access
)
{
if
(
p_access
->
p_sys
->
p_bda_module
)
delete
p_access
->
p_sys
->
p_bda_module
;
};
...
...
@@ -527,7 +526,6 @@ int BDAGraph::SubmitDVBSTuneRequest()
if
(
p_dvbs_locator
)
p_dvbs_locator
->
Release
();
SysFreeString
(
bstr_input_range
);
if
(
pwsz_input_range
)
delete
pwsz_input_range
;
free
(
pwsz_input_range
);
free
(
pwsz_input_range
);
...
...
@@ -758,9 +756,7 @@ HRESULT BDAGraph::CreateTuneRequest()
if
(
p_this_tuning_space
)
p_this_tuning_space
->
Release
();
SysFreeString
(
bstr_name
);
if
(
wpsz_network_name
)
delete
wpsz_network_name
;
if
(
psz_network_name
)
free
(
psz_network_name
);
}
}
l
;
...
...
@@ -909,7 +905,7 @@ HRESULT BDAGraph::CreateTuneRequest()
if
(
IsEqualCLSID
(
guid_network_type
,
CLSID_DVBSNetworkProvider
)
)
cls_tuning_space
=
CLSID_DVBSTuningSpace
;
if
(
l
.
wpsz_network_name
)
delete
l
.
wpsz_network_name
;
delete
l
.
wpsz_network_name
;
l
.
i_name_len
=
MultiByteToWideChar
(
CP_ACP
,
MB_PRECOMPOSED
,
l
.
psz_network_name
,
-
1
,
l
.
wpsz_network_name
,
0
);
if
(
l
.
i_name_len
>
0
)
...
...
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