Commit 10a601ad authored by Zachary Turner's avatar Zachary Turner
Browse files

Fix a python object leak in SWIG glue.

PyObject_CallFunction returns a PyObject which needs to be
decref'ed when it is no longer needed.

Patch by David Luyer
Differential Revision: https://reviews.llvm.org/D33740

llvm-svn: 305873
parent ca48d369
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment