From: Ragner Magalhaes Date: Tue, 2 Dec 2008 20:39:51 +0000 (+0000) Subject: Fixed buddy.pyx return types and plugin.pyx list free. X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=commitdiff_plain;h=cf6b24f0281dd8bec0d836e254f0675a072c9e7c;hp=95706d11d3cf2af02aa6ee2a8e25d36e55ccc1d1 Fixed buddy.pyx return types and plugin.pyx list free. FIXES: - Fixed buddy.pyx return types. - Fixed plugin.pyx list free. Signed-off-by: Bruno Abinader git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1334 596f6dd7-e928-0410-a184-9e12fd12cf7e --- diff --git a/buddy.pyx b/buddy.pyx index d12fd58..8137d26 100644 --- a/buddy.pyx +++ b/buddy.pyx @@ -30,7 +30,7 @@ cdef class Buddy: self.__buddy = blist.c_purple_buddy_new(acc.__account, scr, alias) def get_alias(self): - return blist.c_purple_buddy_get_alias_only(self.__buddy) + return blist.c_purple_buddy_get_alias_only(self.__buddy) def get_name(self): - return blist.c_purple_buddy_get_name(self.__buddy) + return blist.c_purple_buddy_get_name(self.__buddy) diff --git a/plugin.pyx b/plugin.pyx index 020fde1..0ea893f 100644 --- a/plugin.pyx +++ b/plugin.pyx @@ -58,5 +58,6 @@ cdef class Plugins: if p: protocols += [p] iter = iter.next + glib.g_list_free(iter) self.protocols = protocols return protocols