Commit 17b64193 authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot
Browse files

Merge topic 'python-calldata-null'


 Avoid dereferencing NULL calldata pointer
Acked-by: Kitware Robot's avatarKitware Robot <>
Reviewed-by: Ken Martin's avatarKen Martin <>
Merge-request: !2138
parents a26a17c4 e5537ec4
......@@ -137,7 +137,7 @@ void vtkPythonCommand::Execute(vtkObject *ptr, unsigned long eventtype,
PyObject *arglist = NULL;
if (callDataTypeObj)
if (callData && callDataTypeObj)
if (PyInt_Check(callDataTypeObj))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment