greole opened this issue 3 years ago · 1 comments
Currently, a lot of raw pointers are used to hold IO classes returned from the OF objectRegistry. This causes several indirect memory leaks.
#42 reduces limits the locations where raw new is called to the DevicePersistentBase class. Additionally, the ObjectRegistry on the OF side makes sure to call delete for the registered objects, thus no memory should be leaked.
DevicePersistentBase