gstmodule: Fix reference counts of Py_True and Py_False
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 26 Feb 2020 12:53:17 +0000 (13:53 +0100)
committerMathieu Duponchelle <mathieu@centricular.com>
Wed, 26 Feb 2020 12:53:17 +0000 (13:53 +0100)
commite1f7c22d701138ec1a23f6e71d808acb4cd3aafb
treea81eadb1d5a3539a4d46495f3aa24d50005d835b
parentd37ca29515f17dc32f9a0a75a4ce940ac7bad810
gstmodule: Fix reference counts of Py_True and Py_False

When returning those values, extensions must take a new reference.

Fixes #33
gi/overrides/gstmodule.c