diff options
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
| -rw-r--r-- | lib/Analysis/CFRefCount.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp index 1c2f20aa3b..1618f04359 100644 --- a/lib/Analysis/CFRefCount.cpp +++ b/lib/Analysis/CFRefCount.cpp @@ -1065,6 +1065,10 @@ void CFRefCount::EvalEndPath(GRExprEngine& Eng, } ExplodedNode<ValueState>* N = Builder.MakeNode(St); + + if (!N) + return; + std::vector<SymbolID>*& LeaksAtNode = Leaks[N]; assert (!LeaksAtNode); LeaksAtNode = new std::vector<SymbolID>(); |
