mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixed NPE in cleanup.
This commit is contained in:
parent
502926556a
commit
5cb25a3872
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ public class ASTTypeId implements IASTTypeId
|
|||
if( tokenDuple != null )
|
||||
tokenDuple.freeReferences( manager );
|
||||
|
||||
if( references.isEmpty() ) return;
|
||||
if( references == null || references.isEmpty() ) return;
|
||||
for( int i =0; i < references.size(); ++i)
|
||||
manager.returnReference( (IASTReference) references.get(i));
|
||||
references.clear();
|
||||
|
|
Loading…
Add table
Reference in a new issue