Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
73b7ed7f
Commit
73b7ed7f
authored
Oct 15, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access_out_shoutcast: fix memleak.
parent
aee70031
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/access_output/shout.c
modules/access_output/shout.c
+4
-4
No files found.
modules/access_output/shout.c
View file @
73b7ed7f
...
...
@@ -275,10 +275,10 @@ static int Open( vlc_object_t *p_this )
if
(
psz_val
)
{
i_ret
=
shout_set_audio_info
(
p_shout
,
SHOUT_AI_BITRATE
,
psz_val
);
free
(
psz_val
);
if
(
i_ret
!=
SHOUTERR_SUCCESS
)
{
msg_Err
(
p_access
,
"failed to set the information about the bitrate"
);
free
(
psz_val
);
free
(
p_access
->
p_sys
);
free
(
psz_accessname
);
return
VLC_EGENERIC
;
...
...
@@ -300,10 +300,10 @@ static int Open( vlc_object_t *p_this )
if
(
psz_val
)
{
i_ret
=
shout_set_audio_info
(
p_shout
,
SHOUT_AI_SAMPLERATE
,
psz_val
);
free
(
psz_val
);
if
(
i_ret
!=
SHOUTERR_SUCCESS
)
{
msg_Err
(
p_access
,
"failed to set the information about the samplerate"
);
free
(
psz_val
);
free
(
p_access
->
p_sys
);
free
(
psz_accessname
);
return
VLC_EGENERIC
;
...
...
@@ -314,10 +314,10 @@ static int Open( vlc_object_t *p_this )
if
(
psz_val
)
{
i_ret
=
shout_set_audio_info
(
p_shout
,
SHOUT_AI_CHANNELS
,
psz_val
);
free
(
psz_val
);
if
(
i_ret
!=
SHOUTERR_SUCCESS
)
{
msg_Err
(
p_access
,
"failed to set the information about the number of channels"
);
free
(
psz_val
);
free
(
p_access
->
p_sys
);
free
(
psz_accessname
);
return
VLC_EGENERIC
;
...
...
@@ -328,10 +328,10 @@ static int Open( vlc_object_t *p_this )
if
(
psz_val
)
{
i_ret
=
shout_set_audio_info
(
p_shout
,
SHOUT_AI_QUALITY
,
psz_val
);
free
(
psz_val
);
if
(
i_ret
!=
SHOUTERR_SUCCESS
)
{
msg_Err
(
p_access
,
"failed to set the information about Ogg Vorbis quality"
);
free
(
psz_val
);
free
(
p_access
->
p_sys
);
free
(
psz_accessname
);
return
VLC_EGENERIC
;
...
...
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