blist_cbs.pxd: adding try/except in right position
[python-purple] / plugin.pyx
index 020fde1..0ea893f 100644 (file)
@@ -58,5 +58,6 @@ cdef class Plugins:
                 if p:
                     protocols += [p]
             iter = iter.next
+        glib.g_list_free(iter)
         self.protocols = protocols
         return protocols