Skip to content

Commit bfb3a4d

Browse files
authored
Fix Chip-tool heap memory increase in interactive mode (#33838)
1 parent 23ec1b0 commit bfb3a4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/controller/ExamplePersistentStorage.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ CHIP_ERROR PersistentStorage::Init(const char * name, const char * directory)
8585

8686
mName = name;
8787
mDirectory = directory;
88+
mConfig.clear();
8889
mConfig.parse(ifs);
8990
ifs.close();
9091

0 commit comments

Comments
 (0)