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

Commit a8ac5e95 authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Gerrit Code Review
Browse files

Merge "leaudio: Fix possible crash"

parents 2a5206e0 344c42d1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2381,6 +2381,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);