mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-23 13:49:04 -05:00
When an audio source is removed, it signals its "destroy" callbacks. One of the callbacks is OBSSourceLabel::SourceDestroyed. When its Qt destroy signal is fired, it causes a call to LoadAudioSources to refresh the source list. LoadAudioSources deletes the old layout, and so the QWidget that the OBSSource is based on is freed while it's still in the middle of running the signal callback, resulting in access to freed memory.
146 KiB
146 KiB