I'm looking how to use the dsnlexer; in kicad_plugin.cpp, PCB_IO::Load a 
PCB_PARSER is instantiated using a FILE_LINE_READER created on the heap.

However the PCB_PARSER constructor uses a constructor which, according to the 
comments, doesn't take possession of the LINE_READER.

Wouldn't this cause a leak of FILE_LINE_READERs every time a file is opened or 
I'm missing something?ZZ

-- 
Lorenzo Marcantonio
Logos Srl

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to