]> err.no Git - libchamplain/commitdiff
Fix leak in the python bindings' map source desc wrapping
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Wed, 6 May 2009 11:36:14 +0000 (12:36 +0100)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Thu, 7 May 2009 12:55:27 +0000 (08:55 -0400)
bindings/python/champlain/pychamplain.override

index c2eb25dfcb590bb1922fad76e5e73f63e672b569..dcb4cd7cd74d90f5f1280d20a1a99a9f96deae90 100644 (file)
@@ -42,6 +42,8 @@ _wrap_champlain_map_source_factory_get_list(PyGObject *self) {
                Py_DECREF(item);
        }
 
+       g_slist_free(list);
+
        return ret;
 }
 %%