Fix memory leak when loading a 0 degrees arc in footprint
This commit is contained in:
parent
2f7ac2b5b4
commit
e37c9f117d
|
@ -2533,6 +2533,8 @@ MODULE* PCB_PARSER::parseMODULE_unchecked( wxArrayString* aInitialComments )
|
|||
em->SetDrawCoord();
|
||||
module->Add( em );
|
||||
}
|
||||
else
|
||||
delete em;
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue