[PyGreSQL] pgmodule + pymalloc == SEGFAULT (fix included)
D'Arcy J.M. Cain
darcy at druid.net
Wed Mar 20 10:06:23 EST 2002
* Dave Wallace <dwallace at udel.edu> [020225 20:23]:
> The version of pgmodule distributed with postgresql 7.2 causes a
> segfault when used with a Python executable that was compiled with
> --with-pymalloc. This is the result of using PyMem_DEL to free memory
> that was allocated with PyObject_NEW. The following patch changes all of
> the occurrences of PyMem_DEL to PyObject_DEL. This should work even with
> non-pymalloc Pythons.
Source updated. Thanks.
--
D'Arcy J.M. Cain <darcy@{druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
More information about the PyGreSQL
mailing list