Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gautam Chitnis
web-ui-redesign
Commits
31e57614
Commit
31e57614
authored
Mar 25, 2007
by
dionoea
Browse files
Add 2 missing calls to config_ChainDestroy().
parent
d7644d8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/video_output/vout_subpictures.c
View file @
31e57614
...
...
@@ -111,7 +111,7 @@ int spu_Init( spu_t *p_spu )
while
(
psz_parser
&&
*
psz_parser
)
{
config_chain_t
*
p_cfg
;
/* Do we ever need to free this ? */
config_chain_t
*
p_cfg
;
char
*
psz_name
;
psz_parser
=
config_ChainCreate
(
&
psz_name
,
&
p_cfg
,
psz_parser
);
...
...
@@ -138,6 +138,7 @@ int spu_Init( spu_t *p_spu )
else
{
msg_Dbg
(
p_spu
,
"no sub filter found"
);
config_ChainDestroy
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
->
p_cfg
);
vlc_object_detach
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
);
vlc_object_destroy
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
);
}
...
...
@@ -206,6 +207,7 @@ void spu_Destroy( spu_t *p_spu )
module_Unneed
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
],
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
->
p_module
);
free
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
->
p_owner
);
config_ChainDestroy
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
->
p_cfg
);
vlc_object_detach
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
);
vlc_object_destroy
(
p_spu
->
pp_filter
[
p_spu
->
i_filter
]
);
}
...
...
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