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

Commit 0fc003b3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 5249cb65 a66b8c18
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);