Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4128211 commit d9a95c0Copy full SHA for d9a95c0
src/pl/plpython/plpython.c
@@ -2671,7 +2671,7 @@ PLy_plan_new(void)
2671
{
2672
PLyPlanObject *ob;
2673
2674
- if ((ob = PyObject_NEW(PLyPlanObject, &PLy_PlanType)) == NULL)
+ if ((ob = PyObject_New(PLyPlanObject, &PLy_PlanType)) == NULL)
2675
return NULL;
2676
2677
ob->plan = NULL;
@@ -2727,7 +2727,7 @@ PLy_result_new(void)
2727
2728
PLyResultObject *ob;
2729
2730
- if ((ob = PyObject_NEW(PLyResultObject, &PLy_ResultType)) == NULL)
+ if ((ob = PyObject_New(PLyResultObject, &PLy_ResultType)) == NULL)
2731
2732
2733
/* ob->tuples = NULL; */
0 commit comments