[vlc-commits] [Git][videolan/vlc][master] hotkeys: fix aout_GetDevice leak
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Oct 3 11:02:58 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
300cc5c4 by Johannes Kauffmann at 2025-10-03T09:29:46+00:00
hotkeys: fix aout_GetDevice leak
- - - - -
1 changed file:
- modules/control/hotkeys.c
Changes:
=====================================
modules/control/hotkeys.c
=====================================
@@ -618,7 +618,10 @@ AudioDeviceCycle(audio_output_t *aout, char **p_name)
char **ids, **names;
int n = aout_DevicesList(aout, &ids, &names);
if (n == -1)
+ {
+ free(device);
goto end;
+ }
int index;
for (index = 0; index < n; ++index)
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/300cc5c4a176848fb62145d51b1d7a8d39477ef8
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/300cc5c4a176848fb62145d51b1d7a8d39477ef8
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list