Make sure to bump the reference count of the last element in the ParenListExpr representing the direct initializer of a declaration

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80177 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaTemplateInstantiateDecl.cpp b/lib/Sema/SemaTemplateInstantiateDecl.cpp
index 71fb368..5e91789 100644
--- a/lib/Sema/SemaTemplateInstantiateDecl.cpp
+++ b/lib/Sema/SemaTemplateInstantiateDecl.cpp
@@ -165,6 +165,7 @@
           FakeCommaLocs.push_back(
                                 SemaRef.PP.getLocForEndOfToken(E->getLocEnd()));
         }
+        PLE->getExpr(PLE->getNumExprs() - 1)->Retain();
       }
       
       // Add the direct initializer to the declaration.