On 03.03.2015 18:00, Shuai Meng wrote:
2015-03-03 18:09 GMT+08:00 Nikolay Sivov <bunglehead@gmail.com mailto:bunglehead@gmail.com>:
You're still leaking memory.
Thanks for commenting~ But I would be appreciated if you can explain this more explicitly, I am not quite familiar with the string functions.
Take a look at what to_string() does - you're supposed to free what it returns.