std::string Leak

Here's how I can reproduce the memory leak:

  1. On the home page, I press button A, which calls a method in the view model that creates a std::string using std.string as documented here.
  2. Then, I press button B on the home page that opens a modal view.
  3. Then, instruments detects a leak of 192 bytes, and the stack trace points to the string I created.

It doesn't really make sense to me why there would be a memory leak relating to std::string, so I am asking here. Thanks!