Memory leaks in LimesuiteNG under MacOS

Hi-

I didn’t see anything about this posted here, but recently I have been hunting down memory leaks in my code using Profiling in Xcode and see that a number of memory leaks show up that are associated with setting up the GFIR filters in the configuration routine. They aren’t huge memory leaks, but there are quite a few of them. I tried both the stable and develop branches and they show up in each. I am building the libraries using cmake, while my code is built using Xcode. These are not really causing a problem for me since they only show up when the devices are configured, which only happens once per run and I can discard that - I am just mentioning it in case it is of interest.

Hi, thank you. Leak is fixed Fix memory leak in GFIR coefficients generation · myriadrf/LimeSuiteNG@75b603d · GitHub

Thank you - I see where that goes and will check it out. Appreciate the quick response.

I saw right away after compiling the fix that the memory leaks were still there (I checked to make sure I am compiling the fixed code). However, because I also had leaks in my code I wanted to get rid of those before reporting the persisting leaks. I have now gotten rid of my leaks but the remaining leaked objects are shown below. I am not sure if these are the same ones or not as shown previously - the number reported is about the same (22), and they come from the same part of the code. I have expanded the object references below.

As I said in my original message, these don’t appear to be causing any problem for me, so I am reporting what I see in case it is of any interest. I know memory leaks can be very difficult to track down.

Thanks again for all of your help.