Figured out the leak was coming from the assert equals call. I think it was trying to cast between const char* and string?