Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
bb30cfed
Commit
bb30cfed
authored
Jan 29, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix output stream leak in case of Avahi error
parent
fcce68af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
modules/access_output/http.c
modules/access_output/http.c
+2
-0
No files found.
modules/access_output/http.c
View file @
bb30cfed
...
...
@@ -304,6 +304,7 @@ static int Open( vlc_object_t *p_this )
if
(
p_playlist
==
NULL
)
{
msg_Err
(
p_access
,
"unable to find playlist"
);
httpd_StreamDelete
(
p_sys
->
p_httpd_stream
);
httpd_HostDelete
(
p_sys
->
p_httpd_host
);
free
(
(
void
*
)
p_sys
);
return
VLC_EGENERIC
;
...
...
@@ -324,6 +325,7 @@ static int Open( vlc_object_t *p_this )
if
(
p_sys
->
p_bonjour
==
NULL
)
{
vlc_object_release
(
p_playlist
);
httpd_StreamDelete
(
p_sys
->
p_httpd_stream
);
httpd_HostDelete
(
p_sys
->
p_httpd_host
);
free
(
(
void
*
)
p_sys
);
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