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
7117284e
Commit
7117284e
authored
Dec 22, 2012
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smooth: fix potential memleak
parent
ddac8657
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/stream_filter/smooth/downloader.c
modules/stream_filter/smooth/downloader.c
+4
-5
No files found.
modules/stream_filter/smooth/downloader.c
View file @
7117284e
...
...
@@ -363,13 +363,12 @@ static chunk_t *build_init_chunk( stream_t *s )
if
(
!
ret
->
data
)
goto
build_init_chunk_error
;
int
res
=
build_smoo_box
(
s
,
ret
->
data
);
if
(
res
!=
VLC_SUCCESS
)
goto
build_init_chunk_error
;
return
ret
;
if
(
build_smoo_box
(
s
,
ret
->
data
)
==
VLC_SUCCESS
)
return
ret
;
free
(
ret
->
data
);
build_init_chunk_error:
free
(
ret
);
msg_Err
(
s
,
"build_init_chunk failed"
);
return
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