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
8ede742f
Commit
8ede742f
authored
Jun 07, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a picture memleak in clone.
parent
65c1e26f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/video_filter/clone.c
modules/video_filter/clone.c
+4
-0
No files found.
modules/video_filter/clone.c
View file @
8ede742f
...
...
@@ -181,10 +181,14 @@ static int Filter( video_splitter_t *p_splitter,
picture_t
*
pp_dst
[],
picture_t
*
p_src
)
{
if
(
video_splitter_NewPicture
(
p_splitter
,
pp_dst
)
)
{
picture_Release
(
p_src
);
return
VLC_EGENERIC
;
}
for
(
int
i
=
0
;
i
<
p_splitter
->
i_output
;
i
++
)
picture_Copy
(
pp_dst
[
i
],
p_src
);
picture_Release
(
p_src
);
return
VLC_SUCCESS
;
}
...
...
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