diff options
author | Zachary Turner <zturner@google.com> | 2017-06-21 01:52:37 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-06-21 01:52:37 +0000 |
commit | 10a601adb2a6e47b1681aa01d7c410b89514b5fe (patch) | |
tree | 5036fe1dfa483527ec13df2f0ba7a8d86f6bbad7 /clang/lib/AST/ASTContext.cpp | |
parent | ca48d369bac37ee9f2d4b44c50303fb0b1e73b44 (diff) | |
download | bcm5719-llvm-10a601adb2a6e47b1681aa01d7c410b89514b5fe.tar.gz bcm5719-llvm-10a601adb2a6e47b1681aa01d7c410b89514b5fe.zip |
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
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
0 files changed, 0 insertions, 0 deletions