Fix free-ing invalid pointer in call devices. From Jason Volk <jason@zemos.net>
This commit is contained in:
parent
d59f0768f0
commit
d511814caf
@ -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 New Issue
Block a user