Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
lpbeliveau-silabs committed Jun 5, 2023
1 parent 087b637 commit 82b1a6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/clusters/scenes-server/SceneTableImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,8 @@ CHIP_ERROR DefaultSceneTableImpl::SceneSaveEFS(SceneTableEntry & scene)

clusterCount = GetClustersFromEndpoint(cBuffer, clusterCount);
chip::Platform::MemoryRealloc(cBuffer, clusterCount);

// If there were no supported clusters on the endpoint, returns no error
VerifyOrReturnError(nullptr != cBuffer, CHIP_NO_ERROR);

Span<clusterId> cSpan(cBuffer, clusterCount);
Expand Down

0 comments on commit 82b1a6f

Please sign in to comment.