From 12b4773e557369749b3c7b67d1e709045cbca8af Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Sat, 20 Jun 2020 08:12:05 +0200 Subject: [PATCH 11/21] python: free internal string buffer if needed in set_list_of_strings (#44287) --- bindings/python/wrapper_top.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bindings/python/wrapper_top.c b/bindings/python/wrapper_top.c index 918e8ea7..21689b0f 100644 --- a/bindings/python/wrapper_top.c +++ b/bindings/python/wrapper_top.c @@ -332,13 +332,17 @@ set_list_of_strings(GList **a_list, PyObject *seq) { l = PySequence_Length(seq); } for (i=0; i