From: Emmanuel Rodriguez Date: Wed, 6 May 2009 11:36:14 +0000 (+0100) Subject: Fix leak in the python bindings' map source desc wrapping X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65403e5003b0d3229a9d22e9d7b0f51935f2e16b;p=libchamplain Fix leak in the python bindings' map source desc wrapping --- diff --git a/bindings/python/champlain/pychamplain.override b/bindings/python/champlain/pychamplain.override index c2eb25d..dcb4cd7 100644 --- a/bindings/python/champlain/pychamplain.override +++ b/bindings/python/champlain/pychamplain.override @@ -42,6 +42,8 @@ _wrap_champlain_map_source_factory_get_list(PyGObject *self) { Py_DECREF(item); } + g_slist_free(list); + return ret; } %%