Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
4b7fc754
Commit
4b7fc754
authored
Feb 11, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lua: fix object leak.
parent
61662db5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/misc/lua/libs/video.c
modules/misc/lua/libs/video.c
+6
-2
No files found.
modules/misc/lua/libs/video.c
View file @
4b7fc754
...
...
@@ -54,10 +54,14 @@ static int vlclua_fullscreen( lua_State *L )
if
(
!
p_input
)
return
vlclua_error
(
L
);
p_vout
=
input_GetVout
(
p_input
);
if
(
!
p_vout
)
return
vlclua_error
(
L
);
#warning ^^ How about releasing the input?
if
(
!
p_vout
)
{
vlc_object_release
(
p_input
);
return
vlclua_error
(
L
);
}
i_ret
=
vlclua_var_toggle_or_set
(
L
,
p_vout
,
"fullscreen"
);
vlc_object_release
(
p_vout
);
vlc_object_release
(
p_input
);
return
i_ret
;
...
...
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