From 38e16fb21a236c0622c55bf16df5de49901cd2d4 Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Tue, 31 Oct 2017 03:24:40 -0700 Subject: ICE-8496 - Python crash on exit --- python/modules/IcePy/ValueFactoryManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/modules/IcePy/ValueFactoryManager.cpp') diff --git a/python/modules/IcePy/ValueFactoryManager.cpp b/python/modules/IcePy/ValueFactoryManager.cpp index ca7b6c5779b..eaa8d9716c5 100644 --- a/python/modules/IcePy/ValueFactoryManager.cpp +++ b/python/modules/IcePy/ValueFactoryManager.cpp @@ -299,7 +299,7 @@ IcePy::DefaultValueFactory::create(const string& id) // // Instantiate the object. // - PyTypeObject* type = reinterpret_cast(info->pythonType.get()); + PyTypeObject* type = reinterpret_cast(info->pythonType); PyObjectHandle args = PyTuple_New(0); PyObjectHandle obj = type->tp_new(type, args.get(), 0); if(!obj.get()) -- cgit v1.2.3