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
100c9257
Commit
100c9257
authored
Oct 02, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't reinvent free()
parent
36da998f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
modules/access/http.c
modules/access/http.c
+21
-21
No files found.
modules/access/http.c
View file @
100c9257
...
...
@@ -346,10 +346,10 @@ connect:
/* Clean up current Open() run */
vlc_UrlClean
(
&
p_sys
->
url
);
vlc_UrlClean
(
&
p_sys
->
proxy
);
if
(
p_sys
->
psz_mime
)
free
(
p_sys
->
psz_mime
);
if
(
p_sys
->
psz_pragma
)
free
(
p_sys
->
psz_pragma
);
if
(
p_sys
->
psz_location
)
free
(
p_sys
->
psz_location
);
if
(
p_sys
->
psz_user_agent
)
free
(
p_sys
->
psz_user_agent
);
free
(
p_sys
->
psz_mime
);
free
(
p_sys
->
psz_pragma
);
free
(
p_sys
->
psz_location
);
free
(
p_sys
->
psz_user_agent
);
Disconnect
(
p_access
);
free
(
p_sys
);
...
...
@@ -419,10 +419,10 @@ connect:
error:
vlc_UrlClean
(
&
p_sys
->
url
);
vlc_UrlClean
(
&
p_sys
->
proxy
);
if
(
p_sys
->
psz_mime
)
free
(
p_sys
->
psz_mime
);
if
(
p_sys
->
psz_pragma
)
free
(
p_sys
->
psz_pragma
);
if
(
p_sys
->
psz_location
)
free
(
p_sys
->
psz_location
);
if
(
p_sys
->
psz_user_agent
)
free
(
p_sys
->
psz_user_agent
);
free
(
p_sys
->
psz_mime
);
free
(
p_sys
->
psz_pragma
);
free
(
p_sys
->
psz_location
);
free
(
p_sys
->
psz_user_agent
);
Disconnect
(
p_access
);
free
(
p_sys
);
...
...
@@ -440,15 +440,15 @@ static void Close( vlc_object_t *p_this )
vlc_UrlClean
(
&
p_sys
->
url
);
vlc_UrlClean
(
&
p_sys
->
proxy
);
if
(
p_sys
->
psz_mime
)
free
(
p_sys
->
psz_mime
);
if
(
p_sys
->
psz_pragma
)
free
(
p_sys
->
psz_pragma
);
if
(
p_sys
->
psz_location
)
free
(
p_sys
->
psz_location
);
free
(
p_sys
->
psz_mime
);
free
(
p_sys
->
psz_pragma
);
free
(
p_sys
->
psz_location
);
if
(
p_sys
->
psz_icy_name
)
free
(
p_sys
->
psz_icy_name
);
if
(
p_sys
->
psz_icy_genre
)
free
(
p_sys
->
psz_icy_genre
);
if
(
p_sys
->
psz_icy_title
)
free
(
p_sys
->
psz_icy_title
);
free
(
p_sys
->
psz_icy_name
);
free
(
p_sys
->
psz_icy_genre
);
free
(
p_sys
->
psz_icy_title
);
if
(
p_sys
->
psz_user_agent
)
free
(
p_sys
->
psz_user_agent
);
free
(
p_sys
->
psz_user_agent
);
Disconnect
(
p_access
);
free
(
p_sys
);
...
...
@@ -769,13 +769,13 @@ static int Connect( access_t *p_access, int64_t i_tell )
vlc_url_t
srv
=
p_sys
->
b_proxy
?
p_sys
->
proxy
:
p_sys
->
url
;
/* Clean info */
if
(
p_sys
->
psz_location
)
free
(
p_sys
->
psz_location
);
if
(
p_sys
->
psz_mime
)
free
(
p_sys
->
psz_mime
);
if
(
p_sys
->
psz_pragma
)
free
(
p_sys
->
psz_pragma
);
free
(
p_sys
->
psz_location
);
free
(
p_sys
->
psz_mime
);
free
(
p_sys
->
psz_pragma
);
if
(
p_sys
->
psz_icy_genre
)
free
(
p_sys
->
psz_icy_genre
);
if
(
p_sys
->
psz_icy_name
)
free
(
p_sys
->
psz_icy_name
);
if
(
p_sys
->
psz_icy_title
)
free
(
p_sys
->
psz_icy_title
);
free
(
p_sys
->
psz_icy_genre
);
free
(
p_sys
->
psz_icy_name
);
free
(
p_sys
->
psz_icy_title
);
p_sys
->
psz_location
=
NULL
;
...
...
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