Bwar / CJsonObject

Ultralightweight JSON parser in C++ based on cJSON
MIT License
648 stars 239 forks source link

Fix replace function memory leak. #64

Closed yuanerhh closed 7 months ago

yuanerhh commented 7 months ago

If the key or index does not exist, the replace function will cause a memory leak.