Skip to content
Commit 4d237f66 authored by yafshar's avatar yafshar
Browse files

Explicitly set the pValue pointer to NULL.

PyTuple_SetItem “steals” a reference to pValue, but
does not set it to NULL after dereferencing it. It
causes segmentation fault when running lammps on some
systems and on multiple processors since it is trying
to decrement the reference count for an object which
does not exist.
parent 5e3fe197
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment