mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 02:33:15 +02:00
Don't use std::unique_ptr as we'll just free the value right after storing it. Also, don't try to execute a non-existent function. Fixes https://gitlab.com/kicad/code/kicad/-/issues/21697 (cherry picked from commit 6ab6283e2e89b0e898fa9d75f5a9a8e3c32086f3)