diff options
author | Mark Spruiell <mes@zeroc.com> | 2017-12-27 05:39:15 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2017-12-27 05:39:15 -0800 |
commit | fc1bb7f6d9d6d7ba03ab332c561d38a441cf34b2 (patch) | |
tree | 59774a35f6117cc5e6f39a8db21ac91fb75f474b /py/modules/IcePy/ObjectFactory.cpp | |
parent | IceSSL compatibility fixes for OpenSSL 1.1 (diff) | |
download | ice-fc1bb7f6d9d6d7ba03ab332c561d38a441cf34b2.tar.bz2 ice-fc1bb7f6d9d6d7ba03ab332c561d38a441cf34b2.tar.xz ice-fc1bb7f6d9d6d7ba03ab332c561d38a441cf34b2.zip |
ICE-8496 - Python crash on exit
Diffstat (limited to 'py/modules/IcePy/ObjectFactory.cpp')
-rw-r--r-- | py/modules/IcePy/ObjectFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/modules/IcePy/ObjectFactory.cpp b/py/modules/IcePy/ObjectFactory.cpp index 7bf97bb9eb4..7fe72706ab6 100644 --- a/py/modules/IcePy/ObjectFactory.cpp +++ b/py/modules/IcePy/ObjectFactory.cpp @@ -97,7 +97,7 @@ IcePy::ObjectFactory::create(const string& id) // // Instantiate the object. // - PyTypeObject* type = reinterpret_cast<PyTypeObject*>(info->pythonType.get()); + PyTypeObject* type = reinterpret_cast<PyTypeObject*>(info->pythonType); PyObjectHandle args = PyTuple_New(0); PyObjectHandle obj = type->tp_new(type, args.get(), 0); if(!obj.get()) |