Description
Many functions in the current library do not free allocated memory before returning. While waiting for my order to arrive I've made a minimal set of changes to correct that and attached a patch file in src.zip. It also includes added code for hwReset() and some other minor modifications. If you have any questions or wish to discuss this in more detail please feel free to contact me at mailto:billk@rosw.com.
The code compiles without error using an ESP32 platform but has not been tested (still waiting for the SARA-R4 shield to arrive).
Note - I've worked as an embedded systems developer for over 30 years under the trade name R O SoftWare. The modifications (for the most part) are the minimal needed to correct the memory leakage issue. Once approved and tested they could use some additional cleanup.