diff options
author | Joseph Donofry <rubberduckie3554@gmail.com> | 2023-01-23 16:34:24 -0500 |
---|---|---|
committer | Joseph Donofry <rubberduckie3554@gmail.com> | 2023-01-23 16:34:24 -0500 |
commit | d511814caf454defb22b84aa36f1d272689d5d3d (patch) | |
tree | f6e6fac0ad62001617128d9dababaca3adfeb3c1 /src/voip | |
parent | d59f0768f0abf37542fe648c9ad9a4a8ab6ef47f (diff) |
Fix free-ing invalid pointer in call devices. From Jason Volk <jason@zemos.net>
Diffstat (limited to 'src/voip')
-rw-r--r-- | src/voip/CallDevices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voip/CallDevices.cpp b/src/voip/CallDevices.cpp index ee9a7f43..372209d0 100644 --- a/src/voip/CallDevices.cpp +++ b/src/voip/CallDevices.cpp @@ -279,7 +279,7 @@ CallDevices::deinit() { if (monitor) { gst_device_monitor_stop(monitor); - g_free(monitor); + gst_object_unref(monitor); monitor = nullptr; } } |