[vlc-commits] [Git][videolan/vlc][3.0.x] macosx: fix use-after-free / double-free

Jean-Baptiste Kempf gitlab at videolan.org
Tue Jun 15 22:17:59 UTC 2021



Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC


Commits:
fafe8f23 by Lyndon Brown at 2021-06-15T21:52:38+00:00
macosx: fix use-after-free / double-free

(cherry picked from commit 886824ab7797dd5dc7c165144251c78cc4caf0db)

- - - - -


1 changed file:

- modules/gui/macosx/prefs_widgets.m


Changes:

=====================================
modules/gui/macosx/prefs_widgets.m
=====================================
@@ -1264,8 +1264,8 @@ o_textfield = [[NSSecureTextField alloc] initWithFrame: s_rc];              \
                     break;
                 }
             }
-            module_config_free(p_config);
         }
+        module_config_free(p_config);
     }
     module_list_free(p_list);
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fafe8f236d1bf10d5cdc913c5ef29db2e35d9593

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fafe8f236d1bf10d5cdc913c5ef29db2e35d9593
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list