summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2014-01-29 23:18:58 +0000
committerEnrico Granata <egranata@apple.com>2014-01-29 23:18:58 +0000
commit1ba73059744e514188d49e52c00804dbd47d20a1 (patch)
tree06849eda18cc8d562f1430b44a32f46136f3c15f /clang/lib/CodeGen/CGObjC.cpp
parentb681918dddd205fc47e30c67c5350dd2fda2aa1a (diff)
downloadbcm5719-llvm-1ba73059744e514188d49e52c00804dbd47d20a1.tar.gz
bcm5719-llvm-1ba73059744e514188d49e52c00804dbd47d20a1.zip
<rdar://problem/15936507>
PyTuple_SetItem steals a reference to the item it inserts in the tuple This, plus the Py_XDECREF of the tuple a few lines below, causes our session dictionary to go away after the first time a SWIG layer function is called - with disastrous effects for the first subsequent attempt to use any functionality in ScriptInterpreterPython This fixes it llvm-svn: 200429
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud