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
4fecc0d0
Commit
4fecc0d0
authored
Jun 13, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src/tables/sic.c: dvbpsi_DetachSIS: Cleanup.
Free sis_decoder_t and set p_subdec->p_cb_data to NULL.
parent
6dbd8e7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/tables/sis.c
src/tables/sis.c
+3
-2
No files found.
src/tables/sis.c
View file @
4fecc0d0
...
@@ -116,7 +116,6 @@ void dvbpsi_DetachSIS(dvbpsi_t *p_dvbpsi, uint8_t i_table_id,
...
@@ -116,7 +116,6 @@ void dvbpsi_DetachSIS(dvbpsi_t *p_dvbpsi, uint8_t i_table_id,
dvbpsi_demux_t
*
p_demux
=
(
dvbpsi_demux_t
*
)
p_dvbpsi
->
p_private
;
dvbpsi_demux_t
*
p_demux
=
(
dvbpsi_demux_t
*
)
p_dvbpsi
->
p_private
;
dvbpsi_demux_subdec_t
*
p_subdec
;
dvbpsi_demux_subdec_t
*
p_subdec
;
dvbpsi_demux_subdec_t
**
pp_prev_subdec
;
dvbpsi_demux_subdec_t
**
pp_prev_subdec
;
dvbpsi_sis_decoder_t
*
p_sis_decoder
;
i_extension
=
0
;
i_extension
=
0
;
...
@@ -130,8 +129,10 @@ void dvbpsi_DetachSIS(dvbpsi_t *p_dvbpsi, uint8_t i_table_id,
...
@@ -130,8 +129,10 @@ void dvbpsi_DetachSIS(dvbpsi_t *p_dvbpsi, uint8_t i_table_id,
return
;
return
;
}
}
dvbpsi_sis_decoder_t
*
p_sis_decoder
;
p_sis_decoder
=
(
dvbpsi_sis_decoder_t
*
)
p_subdec
->
p_cb_data
;
p_sis_decoder
=
(
dvbpsi_sis_decoder_t
*
)
p_subdec
->
p_cb_data
;
free
(
p_subdec
->
p_cb_data
);
free
(
p_sis_decoder
);
p_subdec
->
p_cb_data
=
NULL
;
pp_prev_subdec
=
&
p_demux
->
p_first_subdec
;
pp_prev_subdec
=
&
p_demux
->
p_first_subdec
;
while
(
*
pp_prev_subdec
!=
p_subdec
)
while
(
*
pp_prev_subdec
!=
p_subdec
)
...
...
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