Skip to content

Commit

Permalink
Fix bug: store a stack pointer at stats collection (#65)
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <ganze718@gmail.com>
  • Loading branch information
Pterosaur authored Mar 9, 2021
1 parent 7edbe87 commit f6d3b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/third_party/statcollect/StatCollect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ namespace StatCollect {
totalSamplesReceived,
concealedSamples,
concealmentEvents);
std::string* tempStrPrt = &collectInfoJson;
std::string* tempStrPrt = new std::string(collectInfoJson);
resultPtr = static_cast<void*>(tempStrPrt);
}
else {
Expand Down

0 comments on commit f6d3b91

Please sign in to comment.