Browse Source

Fix issue with prev d83cff63f

Corrected the new/delete idiom
pull/17/head
Seth Hillbrand 7 years ago
parent
commit
76f151b4d8
  1. 2
      common/commit.cpp

2
common/commit.cpp

@ -142,7 +142,7 @@ COMMIT& COMMIT::createModified( EDA_ITEM* aItem, EDA_ITEM* aCopy, int aExtraFlag
if( entryIt != m_changedItems.end() )
{
free( aCopy );
delete aCopy;
return *this; // item has been already modified once
}

Loading…
Cancel
Save