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
e3cc94e3
Commit
e3cc94e3
authored
Oct 05, 2008
by
Rémi Duraffort
Committed by
Derk-Jan Hartman
Oct 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memleak (CID 202, 203, 204 and 205)
(cherry picked from commit
cdc6a08d
)
parent
170aa7ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
+16
-4
modules/access/dvb/en50221.c
modules/access/dvb/en50221.c
+16
-4
No files found.
modules/access/dvb/en50221.c
View file @
e3cc94e3
...
@@ -1199,8 +1199,11 @@ static void CAPMTFirst( access_t * p_access, int i_session_id,
...
@@ -1199,8 +1199,11 @@ static void CAPMTFirst( access_t * p_access, int i_session_id,
0x3
/* only */
,
0x1
/* ok_descrambling */
,
0x3
/* only */
,
0x1
/* ok_descrambling */
,
&
i_capmt_size
);
&
i_capmt_size
);
if
(
i_capmt_size
)
if
(
i_capmt_size
)
{
APDUSend
(
p_access
,
i_session_id
,
AOT_CA_PMT
,
p_capmt
,
i_capmt_size
);
APDUSend
(
p_access
,
i_session_id
,
AOT_CA_PMT
,
p_capmt
,
i_capmt_size
);
free
(
p_capmt
);
}
}
}
/*****************************************************************************
/*****************************************************************************
...
@@ -1233,8 +1236,11 @@ static void CAPMTAdd( access_t * p_access, int i_session_id,
...
@@ -1233,8 +1236,11 @@ static void CAPMTAdd( access_t * p_access, int i_session_id,
0x4
/* add */
,
0x1
/* ok_descrambling */
,
0x4
/* add */
,
0x1
/* ok_descrambling */
,
&
i_capmt_size
);
&
i_capmt_size
);
if
(
i_capmt_size
)
if
(
i_capmt_size
)
{
APDUSend
(
p_access
,
i_session_id
,
AOT_CA_PMT
,
p_capmt
,
i_capmt_size
);
APDUSend
(
p_access
,
i_session_id
,
AOT_CA_PMT
,
p_capmt
,
i_capmt_size
);
free
(
p_capmt
);
}
}
}
/*****************************************************************************
/*****************************************************************************
...
@@ -1253,8 +1259,11 @@ static void CAPMTUpdate( access_t * p_access, int i_session_id,
...
@@ -1253,8 +1259,11 @@ static void CAPMTUpdate( access_t * p_access, int i_session_id,
0x5
/* update */
,
0x1
/* ok_descrambling */
,
0x5
/* update */
,
0x1
/* ok_descrambling */
,
&
i_capmt_size
);
&
i_capmt_size
);
if
(
i_capmt_size
)
if
(
i_capmt_size
)
{
APDUSend
(
p_access
,
i_session_id
,
AOT_CA_PMT
,
p_capmt
,
i_capmt_size
);
APDUSend
(
p_access
,
i_session_id
,
AOT_CA_PMT
,
p_capmt
,
i_capmt_size
);
free
(
p_capmt
);
}
}
}
/*****************************************************************************
/*****************************************************************************
...
@@ -1274,8 +1283,11 @@ static void CAPMTDelete( access_t * p_access, int i_session_id,
...
@@ -1274,8 +1283,11 @@ static void CAPMTDelete( access_t * p_access, int i_session_id,
0x5
/* update */
,
0x4
/* not selected */
,
0x5
/* update */
,
0x4
/* not selected */
,
&
i_capmt_size
);
&
i_capmt_size
);
if
(
i_capmt_size
)
if
(
i_capmt_size
)
{
APDUSend
(
p_access
,
i_session_id
,
AOT_CA_PMT
,
p_capmt
,
i_capmt_size
);
APDUSend
(
p_access
,
i_session_id
,
AOT_CA_PMT
,
p_capmt
,
i_capmt_size
);
free
(
p_capmt
);
}
}
}
/*****************************************************************************
/*****************************************************************************
...
...
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