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
e99c3250
Commit
e99c3250
authored
Jan 15, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/access_output/http.c: fixed small mem leak and mem corruption.
parent
fd1a7407
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
modules/access_output/http.c
modules/access_output/http.c
+8
-1
No files found.
modules/access_output/http.c
View file @
e99c3250
...
...
@@ -2,7 +2,7 @@
* http.c
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: http.c,v 1.
8 2003/12/06 22:50:08 jpsama
n Exp $
* $Id: http.c,v 1.
9 2004/01/15 22:58:12 gbazi
n Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -191,6 +191,10 @@ static int Open( vlc_object_t *p_this )
strcpy
(
psz_file_name
,
"/"
);
strcat
(
psz_file_name
,
p
);
}
else
{
psz_file_name
=
strdup
(
psz_file_name
);
}
p_sys
->
p_httpd
=
httpd_Find
(
VLC_OBJECT
(
p_access
),
VLC_TRUE
);
if
(
!
p_sys
->
p_httpd
)
...
...
@@ -246,6 +250,9 @@ static int Open( vlc_object_t *p_this )
return
(
VLC_EGENERIC
);
}
free
(
psz_file_name
);
free
(
psz_name
);
p_sys
->
i_header_allocated
=
1024
;
p_sys
->
i_header_size
=
0
;
p_sys
->
p_header
=
malloc
(
p_sys
->
i_header_allocated
);
...
...
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