Projet

Général

Profil

0019-python-return-NULL-if-get_list_of_strings-fails-4428.patch

Benjamin Dauvergne, 20 juin 2020 12:44

Télécharger (764 octets)

Voir les différences:

Subject: [PATCH 19/21] python: return NULL if get_list_of_strings() fails
 (#44287)

 bindings/python/wrapper_top.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bindings/python/wrapper_top.c
476 476
failure:
477 477
	PyErr_SetString(PyExc_TypeError, "Allocation problem in get_list_of_strings");
478 478
	Py_XDECREF(a_tuple);
479
	return noneRef();
479
	return NULL;
480 480
}
481 481

  
482 482
static PyObject *
483
-