Fix free-ing invalid pointer in call devices. From Jason Volk <jason@zemos.net>

pull/1341/head
Joseph Donofry 2 years ago
parent d59f0768f0
commit d511814caf
  1. 2
      src/voip/CallDevices.cpp

@ -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…
Cancel
Save