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
ced821f1
Commit
ced821f1
authored
Jul 19, 2013
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix potential memory leaks (cid #1049567-1049570)
parent
2b8ee7da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/video_filter/puzzle_pce.c
modules/video_filter/puzzle_pce.c
+6
-1
No files found.
modules/video_filter/puzzle_pce.c
View file @
ced821f1
...
@@ -117,8 +117,13 @@ int puzzle_bake_pieces_shapes( filter_t *p_filter)
...
@@ -117,8 +117,13 @@ int puzzle_bake_pieces_shapes( filter_t *p_filter)
point_t
*
ps_neg_pts_H
=
puzzle_curve_H_2_negative
(
7
,
ps_scale_pts_H
);
point_t
*
ps_neg_pts_H
=
puzzle_curve_H_2_negative
(
7
,
ps_scale_pts_H
);
point_t
*
ps_neg_pts_V
=
puzzle_curve_V_2_negative
(
7
,
ps_scale_pts_V
);
point_t
*
ps_neg_pts_V
=
puzzle_curve_V_2_negative
(
7
,
ps_scale_pts_V
);
if
(
!
ps_scale_pts_H
||
!
ps_scale_pts_V
||
!
ps_neg_pts_H
||
!
ps_neg_pts_V
)
if
(
!
ps_scale_pts_H
||
!
ps_scale_pts_V
||
!
ps_neg_pts_H
||
!
ps_neg_pts_V
)
{
free
(
ps_scale_pts_H
);
free
(
ps_scale_pts_V
);
free
(
ps_neg_pts_H
);
free
(
ps_neg_pts_V
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
int
i_ret
;
int
i_ret
;
for
(
uint8_t
i_plane
=
0
;
i_plane
<
p_filter
->
p_sys
->
s_allocated
.
i_planes
;
i_plane
++
)
{
for
(
uint8_t
i_plane
=
0
;
i_plane
<
p_filter
->
p_sys
->
s_allocated
.
i_planes
;
i_plane
++
)
{
...
...
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