[llvm.py] Make ObjectFile destructor work
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 9 Mar 2012 18:56:33 +0000 (18:56 +0000)
committerGregory Szorc <gregory.szorc@gmail.com>
Fri, 9 Mar 2012 18:56:33 +0000 (18:56 +0000)
commit07c32218f448b7637d4acad8e87ce7cfaef0277e
tree09b98f3a686f3007b5a47266efe414b6d86712b0
parent5992f67e683b665392f45b167fe5c9abd91455c9
[llvm.py] Make ObjectFile destructor work

Previous code had a double free in MemoryBuffer. The tests now pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152422 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/python/llvm/common.py
bindings/python/llvm/core.py
bindings/python/llvm/object.py