IP addresses references passed in argument for ps_python are not freed after
they have been used. Leading to a small chance of mem leak if a lot of ip
addresses are passed around
This patch must be backported as far as 2.0.
PyErr_SetString(spoa_error, "No space left available");
return NULL;
}
+ /* Once we set the IP value in the worker, we don't need it anymore... */
+ Py_XDECREF(value);
return Py_None;
}
PyErr_SetString(spoa_error, "No space left available");
return NULL;
}
+ /* Once we set the IP value in the worker, we don't need it anymore... */
+ Py_XDECREF(value);
return Py_None;
}