diff options
Diffstat (limited to 'python/hashstring.cc')
| -rw-r--r-- | python/hashstring.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/hashstring.cc b/python/hashstring.cc index 90c80e4c..d4b7a3b2 100644 --- a/python/hashstring.cc +++ b/python/hashstring.cc @@ -31,7 +31,7 @@ static PyObject *hashstring_new(PyTypeObject *type,PyObject *Args, if (PyArg_ParseTupleAndKeywords(Args, kwds, "s|s:__new__", kwlist, &Type, &Hash) == 0) return 0; - CppPyObject<HashString*> *PyObj = CppPyObject_NEW<HashString*>(type); + CppPyObject<HashString*> *PyObj = CppPyObject_NEW<HashString*>(NULL, type); if (Hash) PyObj->Object = new HashString(Type,Hash); else // Type is the combined form now (i.e. type:hash) |
