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
24e7b2dd
Commit
24e7b2dd
authored
Jul 21, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a memory leak in AspectCallback.
parent
5a0ac45f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+6
-2
No files found.
src/video_output/vout_intf.c
View file @
24e7b2dd
...
@@ -1126,8 +1126,12 @@ static int AspectCallback( vlc_object_t *p_this, char const *psz_cmd,
...
@@ -1126,8 +1126,12 @@ static int AspectCallback( vlc_object_t *p_this, char const *psz_cmd,
i_aspect_num
,
i_aspect_den
,
i_aspect_num
,
i_aspect_den
,
p_vout
->
fmt_in
.
i_sar_num
,
p_vout
->
fmt_in
.
i_sar_den
);
p_vout
->
fmt_in
.
i_sar_num
,
p_vout
->
fmt_in
.
i_sar_den
);
var_Get
(
p_vout
,
"crop"
,
&
val
);
if
(
var_Get
(
p_vout
,
"crop"
,
&
val
)
)
return
CropCallback
(
p_this
,
"crop"
,
val
,
val
,
0
);
return
VLC_EGENERIC
;
int
i_ret
=
CropCallback
(
p_this
,
"crop"
,
val
,
val
,
0
);
free
(
val
.
psz_string
);
return
i_ret
;
}
}
static
int
OnTopCallback
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
static
int
OnTopCallback
(
vlc_object_t
*
p_this
,
char
const
*
psz_cmd
,
...
...
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