[vlc-commits] [Git][videolan/vlc][master] qt: Fix memory leak
Hugo Beauzée-Luyssen (@chouquette)
gitlab at videolan.org
Fri Aug 27 14:25:33 UTC 2021
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
77d81e4b by Hugo Beauzée-Luyssen at 2021-08-27T13:45:15+00:00
qt: Fix memory leak
- - - - -
1 changed file:
- modules/gui/qt/qt.cpp
Changes:
=====================================
modules/gui/qt/qt.cpp
=====================================
@@ -674,7 +674,9 @@ static void *Thread( void *obj )
Q_INIT_RESOURCE( vlc );
- vlc::CompositorFactory compositorFactory(p_intf, var_InheritString(p_intf, "qt-compositor"));
+ auto compositor = var_InheritString(p_intf, "qt-compositor");
+ vlc::CompositorFactory compositorFactory(p_intf, compositor);
+ free(compositor);
compositorFactory.preInit();
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/77d81e4b4a8a9709055b123d7bd63f0d16c843dc
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/77d81e4b4a8a9709055b123d7bd63f0d16c843dc
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list