Commit acaa9dd6 authored by Guillaume Roguez's avatar Guillaume Roguez

configurationmanager: fix nullptr access

This patch fixes a nullptr access to non checked pointer
returned by ring::Manager::instance().getCurrentCall().
This is a bug introduced by commit 3939750f

Refs #77483

Change-Id: I8bd1b67a8bb97c4afc86609e9fe276797bf54aa2
parent 6c7542b2
......@@ -414,8 +414,8 @@ setCodecDetails(const std::string& accountID,
if (foundCodec->isRunning) {
RING_WARN("%s running. Need to restart encoding",
auto call = ring::Manager::instance().getCurrentCall();
if (auto call = ring::Manager::instance().getCurrentCall())
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment