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

Commit 4fdf62ef authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Fix Dump() crash with signal SIGSEGV

Bug: 244682323
Tag: #refactor
Test: build
Change-Id: Ib03a342afacb0513647f3d7e6e3644533e4b24a7
parent cb96d543
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -553,7 +553,7 @@ struct AudioSetConfigurationProvider::impl {
      auto confs = Get()->GetConfigurations(context);
      stream << "\n  === Configurations for context type: " << (int)context
             << ", num: " << (confs == nullptr ? 0 : confs->size()) << " \n";
      if (confs->size() > 0) {
      if (confs && confs->size() > 0) {
        for (const auto& conf : *confs) {
          stream << "  name: " << conf->name << " \n";
          for (const auto& ent : conf->confs) {