← Back to team overview

kicad-developers team mailing list archive

Loaded Eagle library always cleared after loading since rev a3fc0ef

 

Hi Orson,

Could you have a look into your commit a3fc0ef658db69d601f7c91e41c91f43880c1ab0?

It fixes a memory leak by adding and calling deleteTemplates() which delete the footprint list in
memory.

However, because it is called each time EAGLE_PLUGIN::init is called, the loaded library is in fact
cleared as soon as you want to load a footprint (for instance in footprint viewer)

My opinion is deleteTemplates() should not be called inside init(), but I am not very familiar with
the Eagle plugin code, so I let you to fix this issue.

Thanks.

-- 
Jean-Pierre CHARRAS


Follow ups