mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
50a19c5219
The uninit function prematurely released the memory allocated for the channel map setting, which exists in the scope of source life cycle (compared to channel names which are valid during the life cycle of a configured device). Splitting up the clean-up for both (memory for channel names is released when the device is uninitialized, memory for channel map setting is released when the source is removed) ensures that the memory is released but pointers don't become unexpectedly invalid. |
||
---|---|---|
.. | ||
data/locale | ||
audio-device-enum.c | ||
audio-device-enum.h | ||
CMakeLists.txt | ||
mac-audio.c | ||
mac-display-capture.m | ||
mac-sck-audio-capture.m | ||
mac-sck-common.h | ||
mac-sck-common.m | ||
mac-sck-video-capture.m | ||
mac-window-capture.m | ||
plugin-main.c | ||
window-utils.h | ||
window-utils.m |