Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59315355 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "leaudio: Fix possible crash" into tm-qpr-dev am: 0fc003b3

parents b954d513 0fc003b3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2338,6 +2338,11 @@ class LeAudioClientImpl : public LeAudioClient {
      return;
    }

    if (!stream_conf->conf) {
      LOG_INFO("Configuration not yet set. Nothing to do now");
      return;
    }

    auto num_of_devices =
        get_num_of_devices_in_configuration(stream_conf->conf);