llvm.org GIT mirror llvm / 289bdcc
Tweak CrashRecoveryContextCleanup::createCleanup() to use the 'delete' cleanup as opposed to the 'destructor' cleanup (reclaims more memory). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127865 91177308-0d34-0410-b5e6-96231b3b80d8 Ted Kremenek 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
131131 template
132132 struct CrashRecoveryContextTrait {
133133 static inline CrashRecoveryContextCleanup *createCleanup(T *resource) {
134 return new CrashRecoveryContextDestructorCleanup(resource);
134 return new CrashRecoveryContextDeleteCleanup(resource);
135135 }
136136 };
137137