Added "connection-error" signal callback.
[python-purple] / plugin.pyx
index 020fde1..a4ef02f 100644 (file)
 #  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-cimport prpl
 cimport purple
 
-
 cdef class Plugin:
     cdef plugin.PurplePlugin *c_plugin
     cdef prpl.PurplePluginProtocolInfo *c_prpl_info
@@ -58,5 +56,6 @@ cdef class Plugins:
                 if p:
                     protocols += [p]
             iter = iter.next
+        glib.g_list_free(iter)
         self.protocols = protocols
         return protocols