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
aab61e71
Commit
aab61e71
authored
Oct 08, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix potential memleaks (CID 200)
parent
cb89f6d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/access/dvb/en50221.c
modules/access/dvb/en50221.c
+6
-2
No files found.
modules/access/dvb/en50221.c
View file @
aab61e71
...
...
@@ -285,6 +285,8 @@ static int TPDURecv( access_t * p_access, uint8_t i_slot, uint8_t *pi_tag,
if
(
i_size
<
5
)
{
msg_Err
(
p_access
,
"cannot read from CAM device (%d:%m)"
,
i_size
);
if
(
pi_size
==
NULL
)
free
(
p_data
);
return
VLC_EGENERIC
;
}
...
...
@@ -292,6 +294,8 @@ static int TPDURecv( access_t * p_access, uint8_t i_slot, uint8_t *pi_tag,
{
msg_Err
(
p_access
,
"invalid read from CAM device (%d instead of %d)"
,
p_data
[
1
],
i_tcid
);
if
(
pi_size
==
NULL
)
free
(
p_data
);
return
VLC_EGENERIC
;
}
...
...
@@ -1833,7 +1837,7 @@ static int InitSlot( access_t * p_access, int i_slot )
break
;
}
if
(
TPDUSend
(
p_access
,
i_slot
,
T_CREATE_TC
,
NULL
,
0
)
if
(
TPDUSend
(
p_access
,
i_slot
,
T_CREATE_TC
,
NULL
,
NULL
)
!=
VLC_SUCCESS
)
{
msg_Err
(
p_access
,
...
...
@@ -2029,7 +2033,7 @@ int en50221_Poll( access_t * p_access )
if
(
!
p_sys
->
pb_tc_has_data
[
i_slot
]
)
{
if
(
TPDUSend
(
p_access
,
i_slot
,
T_DATA_LAST
,
NULL
,
0
)
!=
if
(
TPDUSend
(
p_access
,
i_slot
,
T_DATA_LAST
,
NULL
,
NULL
)
!=
VLC_SUCCESS
)
{
msg_Err
(
p_access
,
...
...
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