Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7e648e8c
Commit
7e648e8c
authored
Jul 15, 2002
by
Jon Lech Johansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./plugins/access/http.c: fixed double free bug.
parent
55545622
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
plugins/access/http.c
plugins/access/http.c
+7
-3
No files found.
plugins/access/http.c
View file @
7e648e8c
...
...
@@ -2,7 +2,7 @@
* http.c: HTTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: http.c,v 1.1
3 2002/06/27 19:05:17 sam
Exp $
* $Id: http.c,v 1.1
4 2002/07/15 22:20:47 jlj
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -127,7 +127,6 @@ static int HTTPConnect( input_thread_t * p_input, off_t i_tell )
&
p_access_data
->
socket_desc
);
if
(
p_network
==
NULL
)
{
free
(
p_access_data
);
return
(
-
1
);
}
module_Unneed
(
p_network
);
...
...
@@ -435,7 +434,12 @@ static int HTTPOpen( input_thread_t * p_input )
char
*
psz_pos
=
strstr
(
p_access_data
->
psz_buffer
,
"HTTP/1.1"
);
p_input
->
stream
.
b_seekable
=
0
;
psz_pos
[
7
]
=
0
;
return
(
HTTPConnect
(
p_input
,
0
)
);
if
(
HTTPConnect
(
p_input
,
0
)
)
{
free
(
p_input
->
p_access_data
);
free
(
psz_name
);
return
(
-
1
);
}
}
return
0
;
}
...
...
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