Fix memory leak when loading a 0 degrees arc in footprint

This commit is contained in:
jean-pierre charras 2020-02-29 17:20:37 +01:00
parent 2f7ac2b5b4
commit e37c9f117d
1 changed files with 2 additions and 0 deletions

View File

@ -2533,6 +2533,8 @@ MODULE* PCB_PARSER::parseMODULE_unchecked( wxArrayString* aInitialComments )
em->SetDrawCoord();
module->Add( em );
}
else
delete em;
}
break;