Skip to content

Commit

Permalink
SIP: fix typemap for QVector<Type*> that was wrongly dropping a Pytho…
Browse files Browse the repository at this point in the history
…n reference (refs #19885)
  • Loading branch information
rouault committed Sep 21, 2018
1 parent 35c954e commit 9e9ddb5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions python/core/conversions.sip
Expand Up @@ -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;
Expand Down

0 comments on commit 9e9ddb5

Please sign in to comment.