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
14ef6fce
Commit
14ef6fce
authored
Dec 14, 2013
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
livehttp: fix memory leaks
parent
b4d33fe5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/access_output/livehttp.c
modules/access_output/livehttp.c
+3
-0
No files found.
modules/access_output/livehttp.c
View file @
14ef6fce
...
...
@@ -624,6 +624,7 @@ static int updateIndexAndDel( sout_access_out_t *p_access, sout_access_out_sys_t
}
if
(
ret
<
0
)
{
free
(
psz_current_uri
);
free
(
psz_idxTmp
);
fclose
(
fp
);
return
-
1
;
...
...
@@ -633,6 +634,8 @@ static int updateIndexAndDel( sout_access_out_t *p_access, sout_access_out_sys_t
val
=
fprintf
(
fp
,
"#EXTINF:%s,
\n
%s
\n
"
,
segment
->
psz_duration
,
segment
->
psz_uri
);
if
(
val
<
0
)
{
free
(
psz_current_uri
);
free
(
psz_idxTmp
);
fclose
(
fp
);
return
-
1
;
}
...
...
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