Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
0400d4db
Commit
0400d4db
authored
Jun 13, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PMT: do not leak p_section pointer when decoding failed.
parent
cf495469
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/tables/pmt.c
src/tables/pmt.c
+5
-1
No files found.
src/tables/pmt.c
View file @
0400d4db
...
...
@@ -358,7 +358,11 @@ void dvbpsi_GatherPMTSections(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t* p_sectio
((
uint16_t
)(
p_section
->
p_payload_start
[
0
]
&
0x1f
)
<<
8
)
|
p_section
->
p_payload_start
[
1
]);
else
{
dvbpsi_debug
(
p_dvbpsi
,
"PMT decoder"
,
"failed decoding section"
);
dvbpsi_DeletePSISections
(
p_section
);
return
;
}
p_pmt_decoder
->
i_last_section_number
=
p_section
->
i_last_number
;
}
...
...
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