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
128bfa77
Commit
128bfa77
authored
May 26, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hotkeys: fix a big object leak and factorize a bit.
parent
1d536ab9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
modules/control/hotkeys.c
modules/control/hotkeys.c
+3
-8
No files found.
modules/control/hotkeys.c
View file @
128bfa77
...
...
@@ -207,13 +207,7 @@ static void Run( intf_thread_t *p_intf )
ClearChannels
(
p_intf
,
p_vout
);
vout_OSDMessage
(
p_intf
,
DEFAULT_CHAN
,
_
(
"Quit"
)
);
if
(
p_aout
)
vlc_object_release
(
p_aout
);
if
(
p_vout
)
vlc_object_release
(
p_vout
);
if
(
p_input
)
vlc_object_release
(
p_input
);
continue
;
goto
cleanup_and_continue
;
}
/* Volume and audio actions */
else
if
(
i_action
==
ACTIONID_VOL_UP
)
...
...
@@ -498,7 +492,7 @@ static void Run( intf_thread_t *p_intf )
_
(
"Subtitle track: %s"
),
_
(
"N/A"
)
);
var_Change
(
p_input
,
"spu-es"
,
VLC_VAR_FREELIST
,
&
list
,
&
list2
);
continue
;
goto
cleanup_and_
continue
;
}
for
(
i
=
0
;
i
<
i_count
;
i
++
)
{
...
...
@@ -883,6 +877,7 @@ static void Run( intf_thread_t *p_intf )
}
}
}
cleanup_and_continue:
if
(
p_aout
)
vlc_object_release
(
p_aout
);
if
(
p_vout
)
...
...
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