Skip to content
Commit ed5aced6 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Since the object is new'ed in the enterCFG function, now deleting in the...

Since the object is new'ed in the enterCFG function, now deleting in the exitCFG function instead of the destructor to ensure proper pairing. This allows reuse of the builder without creating a memory leak.

llvm-svn: 206471
parent 664b1e2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment