Fix crash in GList/GSList marshaling error handling path.
commitb7a4e68a224ab66f67e45667023f74dd743e6177
authorChristoph Reiter <reiter.christoph@gmail.com>
Thu, 21 Aug 2014 23:04:40 +0000 (22 01:04 +0200)
committerSimon Feltman <sfeltman@src.gnome.org>
Fri, 22 Aug 2014 00:12:34 +0000 (21 17:12 -0700)
tree3b7c72b6af8e4ae7ec192a0e9af55f2d46e89fd4
parent35c6540c42a01e1155f44533cc09e6c9f94b6613
Fix crash in GList/GSList marshaling error handling path.

In case PySequence_GetItem() failed, the retured NULL was passed to PyDECREF.

https://bugzilla.gnome.org/show_bug.cgi?id=735201
gi/pygi-list.c
tests/test_gi.py