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
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
Show 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 @@
...
@@ -2,7 +2,7 @@
* httpd.h
* httpd.h
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* Copyright (C) 2001-2003 VideoLAN
* $Id: httpd.h,v 1.
4 2003/03/15 00:09:31
fenrir Exp $
* $Id: httpd.h,v 1.
5 2003/06/25 15:50:52
fenrir Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* 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 )
...
@@ -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
)
static
inline
void
httpd_Release
(
httpd_t
*
p_httpd
)
{
{
vlc_object_release
(
p_httpd
);
vlc_object_release
(
p_httpd
);
if
(
p_httpd
->
i_refcount
<=
0
)
if
(
p_httpd
->
i_refcount
<=
0
)
{
{
msg_Info
(
p_httpd
,
"destroying unused httpd"
);
vlc_object_detach
(
p_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