7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 20:23:44 +00:00

Fix crash when cancelling fp table setup

The missing OnPgmExit leads to a segfault later if you
cancel the FP table setup when initialising a new config.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16525
This commit is contained in:
John Beard 2024-01-08 23:33:12 +00:00
parent 047cb41a1d
commit b57626807d

View File

@ -351,6 +351,8 @@ bool PGM_SINGLE_TOP::OnPgmInit()
if( frame == nullptr )
{
// Clean up
OnPgmExit();
return false;
}