Skip to content
Permalink
Browse files

SIP: fix typemap for QVector<Type*> that was wrongly dropping a Pytho…

…n reference (refs #19885)
  • Loading branch information
rouault committed Sep 21, 2018
1 parent 35c954e commit 9e9ddb587e1359b59d0506652b330b822db0bc7c
Showing with 1 addition and 6 deletions.
  1. +1 −6 python/core/conversions.sip
@@ -1457,15 +1457,10 @@ template <TYPE>

if (tobj == NULL || PyList_SetItem(l, i, tobj) < 0)
{
Py_DECREF(tobj);
Py_DECREF(l);

if (!tobj)
delete t;

return NULL;
}

Py_DECREF(tobj);
}

return l;

0 comments on commit 9e9ddb5

Please sign in to comment.
You can’t perform that action at this time.