[vlc-commits] qt: actions_manager: Fix memory leak
    Hugo Beauzée-Luyssen 
    git at videolan.org
       
    Tue May 16 17:41:43 CEST 2017
    
    
  
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue May 16 15:11:05 2017 +0200| [1cf21dd406a0052734f3830d9bb4eadd94fb01b6] | committer: Hugo Beauzée-Luyssen
qt: actions_manager: Fix memory leak
Fix #18327
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1cf21dd406a0052734f3830d9bb4eadd94fb01b6
---
 modules/gui/qt/actions_manager.cpp | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt/actions_manager.cpp b/modules/gui/qt/actions_manager.cpp
index bff6af8f6d..1d023b0c8a 100644
--- a/modules/gui/qt/actions_manager.cpp
+++ b/modules/gui/qt/actions_manager.cpp
@@ -337,6 +337,8 @@ void ActionsManager::ScanRendererAction(bool checked)
                 else
                     vlc_rd_release( p_rd );
             }
+            free( *ppsz_name );
+            free( *ppsz_longname );
         }
         free( ppsz_names );
         free( ppsz_longnames );
    
    
More information about the vlc-commits
mailing list