Memory leak is caused by sendBufferSemaphore = xSemaphoreCreateMutex in oscilloscope.h which creates a new semaphore on the heap each time oscilloscope is run.
This is replaced by xSemaphoreCreateBinaryStatic which creates semaphore on the stack.
I'll keep this issue opened until the next release. Meanwhile please replace oscilloscope.h file from release package with the latest one found in repository.
Memory leak is caused by sendBufferSemaphore = xSemaphoreCreateMutex in oscilloscope.h which creates a new semaphore on the heap each time oscilloscope is run.
This is replaced by xSemaphoreCreateBinaryStatic which creates semaphore on the stack.
I'll keep this issue opened until the next release. Meanwhile please replace oscilloscope.h file from release package with the latest one found in repository.