Skip to content

Commit eba28f1

Browse files
committed
Merge pull request #223 from stepcode/mp/minor-bugfixes
minor bugfixes
2 parents c43d9c6 + 25166c6 commit eba28f1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/cleditor/instmgr.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ InstMgr::InstMgr( int ownsInstances )
5555
InstMgr::~InstMgr() {
5656
if( _ownsInstances ) {
5757
master->DeleteEntries();
58+
} else {
59+
master->ClearEntries();
5860
}
5961
delete master;
6062
delete sortedMaster;

src/express/schema.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ Linked_List SCHEMAget_entities_ref( Scope scope ) {
259259
__SCOPE_search_id++;
260260
ENTITY_MARK++;
261261

262-
result = LISTcreate();
263262
SCHEMA_get_entities_ref( scope, result );
264263
return( result );
265264
}

0 commit comments

Comments
 (0)