Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
bf04f9a8
Commit
bf04f9a8
authored
Mar 31, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix httpd reference counting (closes: #2614)
parent
a18ca585
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
src/network/httpd.c
src/network/httpd.c
+0
-3
No files found.
src/network/httpd.c
View file @
bf04f9a8
...
@@ -1018,7 +1018,6 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
...
@@ -1018,7 +1018,6 @@ httpd_host_t *httpd_TLSHostNew( vlc_object_t *p_this, const char *psz_hostname,
ptrval
.
p_address
=
httpd
;
ptrval
.
p_address
=
httpd
;
libvlc_priv
(
p_this
->
p_libvlc
)
->
p_httpd
=
httpd
;
libvlc_priv
(
p_this
->
p_libvlc
)
->
p_httpd
=
httpd
;
vlc_object_hold
(
httpd
);
vlc_object_attach
(
httpd
,
p_this
->
p_libvlc
);
vlc_object_attach
(
httpd
,
p_this
->
p_libvlc
);
}
}
...
@@ -1127,7 +1126,6 @@ error:
...
@@ -1127,7 +1126,6 @@ error:
if
(
httpd
->
i_host
<=
0
)
if
(
httpd
->
i_host
<=
0
)
{
{
libvlc_priv
(
httpd
->
p_libvlc
)
->
p_httpd
=
NULL
;
libvlc_priv
(
httpd
->
p_libvlc
)
->
p_httpd
=
NULL
;
vlc_object_release
(
httpd
);
vlc_object_detach
(
httpd
);
vlc_object_detach
(
httpd
);
vlc_object_release
(
httpd
);
vlc_object_release
(
httpd
);
}
}
...
@@ -1199,7 +1197,6 @@ void httpd_HostDelete( httpd_host_t *host )
...
@@ -1199,7 +1197,6 @@ void httpd_HostDelete( httpd_host_t *host )
vlc_mutex_destroy
(
&
host
->
lock
);
vlc_mutex_destroy
(
&
host
->
lock
);
vlc_object_release
(
host
);
vlc_object_release
(
host
);
vlc_object_release
(
httpd
);
if
(
httpd
->
i_host
<=
0
)
if
(
httpd
->
i_host
<=
0
)
{
{
msg_Dbg
(
httpd
,
"no hosts left, stopping httpd"
);
msg_Dbg
(
httpd
,
"no hosts left, stopping httpd"
);
...
...
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