bengtmartensson/Infrared4Arduino

Memory leak in RC5Renderer example

Z4urce opened this issue · 2 comments

As the title says, there's a memory leak in the Rc5Renderer example. Can't loop more than 10 times on an UNO.

Thank you very much for this report. Background: if you generate an object with Rc5Renderer::newIrSignal, this makes an implicit new so the object must be manually delete-d.

Have checked in a fixed version.

... and released it as version 1.2.3 (together with some Doxygen tweaks); should be available in the Arduino library manager shortly.