From cf6b24f0281dd8bec0d836e254f0675a072c9e7c Mon Sep 17 00:00:00 2001 From: Ragner Magalhaes Date: Tue, 2 Dec 2008 20:39:51 +0000 Subject: [PATCH] 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 --- buddy.pyx | 4 ++-- plugin.pyx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 1.7.9.5