mirror of
https://github.com/openwrt/packages.git
synced 2026-12-03 02:45:30 +04:00
Patch 200-no-iconv.patch replaced iconv with std::wstring_convert, but it left two buffer allocations in wideToString() and removed their delete[]. Each message between a client and telldusd leaked both buffers, in the client library and in telldusd. Measured on a router with one client request per second and normal RF traffic: telldusd and the client each grew about 1.8 MB per hour until the OOM killer stopped telldusd. Remove the unused buffers. Signed-off-by: Peter Liedholm <peterfromswe884@gmail.com>