PL/Python: Fix type mixup

Peter Eisentraut <peter_e@gmx.net>

Commit: fa2fc066f34f1b631b5f92f11e7cda9f60a25330
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2013-06-14T01:42:42Z
Releases: 9.3.0
PL/Python: Fix type mixup

Memory was allocated based on the sizeof a type that was not the type of
the pointer that the result was being assigned to.  The types happen to
be of the same size, but it's still wrong.

Files

PathChange+/−
src/pl/plpython/plpy_typeio.c modified +1 −1