mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Use std::unique_ptr to guard against leaking the new'd pointers in SEXPR lists if there is an exception during parse. This was noticable during the Sexpr/ParseExceptions unit test. Fixes: lp:1830209 * https://bugs.launchpad.net/kicad/+bug/1830209