From f13ea25509e932d426ebd69d90368fe9b1d4c1ab Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Sat, 12 Aug 2006 21:58:42 +0000 Subject: added support for constants git-svn-id: http://svn.irssi.org/repos/irssi-python@4311 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- pymodule.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pymodule.c') diff --git a/pymodule.c b/pymodule.c index 8d6d028..7795c1a 100644 --- a/pymodule.c +++ b/pymodule.c @@ -825,7 +825,7 @@ static PyObject *py_notifylist_remove(PyObject *self, PyObject *args, PyObject * } PyDoc_STRVAR(py_notifylist_ison_doc, - "notifylist_ison(nick, serverlist="") -> IrcServer object\n" + "notifylist_ison(nick, serverlist=\"\") -> IrcServer object\n" "\n" "Check if nick is in IRC. serverlist is a space separated list of server tags.\n" "If it's empty string, all servers will be checked\n" @@ -1666,6 +1666,10 @@ error: for (node = gopt; node; node = node->next->next) g_free(node->data); + g_slist_free(gstart); + g_slist_free(gstop); + g_slist_free(gopt); + return NULL; } -- cgit