Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
31d526a9
Commit
31d526a9
authored
Jul 31, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgotten mem leak.
parent
e91b6fac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
modules/video_filter/blendbench.c
modules/video_filter/blendbench.c
+9
-7
No files found.
modules/video_filter/blendbench.c
View file @
31d526a9
...
@@ -152,7 +152,7 @@ static int Create( vlc_object_t *p_this )
...
@@ -152,7 +152,7 @@ static int Create( vlc_object_t *p_this )
{
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
;
filter_sys_t
*
p_sys
;
char
*
psz_temp
;
char
*
psz_temp
,
*
psz_cmd
;
/* Allocate structure */
/* Allocate structure */
p_filter
->
p_sys
=
malloc
(
sizeof
(
filter_sys_t
)
);
p_filter
->
p_sys
=
malloc
(
sizeof
(
filter_sys_t
)
);
...
@@ -177,19 +177,21 @@ static int Create( vlc_object_t *p_this )
...
@@ -177,19 +177,21 @@ static int Create( vlc_object_t *p_this )
psz_temp
=
var_CreateGetStringCommand
(
p_filter
,
CFG_PREFIX
"base-chroma"
);
psz_temp
=
var_CreateGetStringCommand
(
p_filter
,
CFG_PREFIX
"base-chroma"
);
p_sys
->
i_base_chroma
=
VLC_FOURCC
(
psz_temp
[
0
],
psz_temp
[
1
],
p_sys
->
i_base_chroma
=
VLC_FOURCC
(
psz_temp
[
0
],
psz_temp
[
1
],
psz_temp
[
2
],
psz_temp
[
3
]
);
psz_temp
[
2
],
psz_temp
[
3
]
);
free
(
psz_temp
);
psz_cmd
=
var_CreateGetStringCommand
(
p_filter
,
CFG_PREFIX
"base-image"
);
blendbench_LoadImage
(
p_this
,
&
p_sys
->
p_base_image
,
p_sys
->
i_base_chroma
,
blendbench_LoadImage
(
p_this
,
&
p_sys
->
p_base_image
,
p_sys
->
i_base_chroma
,
var_CreateGetStringCommand
(
p_filter
,
CFG_PREFIX
"base-image"
),
psz_cmd
,
"Base"
);
"Base"
);
free
(
psz_temp
);
free
(
psz_cmd
);
psz_temp
=
var_CreateGetStringCommand
(
p_filter
,
psz_temp
=
var_CreateGetStringCommand
(
p_filter
,
CFG_PREFIX
"blend-chroma"
);
CFG_PREFIX
"blend-chroma"
);
p_sys
->
i_blend_chroma
=
VLC_FOURCC
(
psz_temp
[
0
],
psz_temp
[
1
],
p_sys
->
i_blend_chroma
=
VLC_FOURCC
(
psz_temp
[
0
],
psz_temp
[
1
],
psz_temp
[
2
],
psz_temp
[
3
]
);
psz_temp
[
2
],
psz_temp
[
3
]
);
free
(
psz_temp
);
psz_cmd
=
var_CreateGetStringCommand
(
p_filter
,
CFG_PREFIX
"blend-image"
);
blendbench_LoadImage
(
p_this
,
&
p_sys
->
p_blend_image
,
p_sys
->
i_blend_chroma
,
blendbench_LoadImage
(
p_this
,
&
p_sys
->
p_blend_image
,
p_sys
->
i_blend_chroma
,
var_CreateGetStringCommand
(
p_filter
,
CFG_PREFIX
"blend-image"
),
psz_cmd
,
"Blend"
);
"Blend"
);
free
(
psz_temp
);
free
(
psz_cmd
);
return
VLC_SUCCESS
;
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