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
af0002cf
Commit
af0002cf
authored
Jun 25, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* httpd: fix a memory and thread leak.
parent
46060128
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
include/httpd.h
include/httpd.h
+5
-3
No files found.
include/httpd.h
View file @
af0002cf
...
...
@@ -2,7 +2,7 @@
* httpd.h
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: httpd.h,v 1.
4
2003/0
3/15 00:09:31
fenrir Exp $
* $Id: httpd.h,v 1.
5
2003/0
6/25 15:50:52
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -109,11 +109,13 @@ static inline httpd_t* httpd_Find( vlc_object_t *p_this, vlc_bool_t b_create )
static
inline
void
httpd_Release
(
httpd_t
*
p_httpd
)
{
vlc_object_release
(
p_httpd
);
if
(
p_httpd
->
i_refcount
<=
0
)
{
msg_Info
(
p_httpd
,
"destroying unused httpd"
);
vlc_object_detach
(
p_httpd
);
module_Unneed
(
p_httpd
,
p_httpd
->
p_module
);
vlc_object_destroy
(
p_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