mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Fix free-ing invalid pointer in call devices. From Jason Volk <jason@zemos.net>
This commit is contained in:
parent
d59f0768f0
commit
d511814caf
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ CallDevices::deinit()
|
||||||
{
|
{
|
||||||
if (monitor) {
|
if (monitor) {
|
||||||
gst_device_monitor_stop(monitor);
|
gst_device_monitor_stop(monitor);
|
||||||
g_free(monitor);
|
gst_object_unref(monitor);
|
||||||
monitor = nullptr;
|
monitor = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue