X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=srd.c;h=273b6bce797e2b80b67d782fc97c193238842db7;hb=8c4477692114cfb1a823d847b70c8ea96caa7301;hp=248d8e5a69e3793450f50127a47e8a7563b416e0;hpb=611a73404f1a42aa92fb32f00ca5407e1cdb2c71;p=libsigrokdecode.git
diff --git a/srd.c b/srd.c
index 248d8e5..273b6bc 100644
--- a/srd.c
+++ b/srd.c
@@ -67,8 +67,8 @@ extern SRD_PRIV int max_session_id;
* @section sec_irc IRC
*
* You can find the sigrok developers in the
- * \#sigrok
- * IRC channel on Freenode.
+ * \#sigrok
+ * IRC channel on Libera.Chat.
*
* @section sec_website Website
*
@@ -172,6 +172,7 @@ static int print_searchpaths(void)
py_path = PyList_GetItem(py_paths, i);
py_bytes = PyUnicode_AsUTF8String(py_path);
g_string_append_printf(s, " - %s\n", PyBytes_AsString(py_bytes));
+ Py_DECREF(py_bytes);
}
s->str[s->len - 1] = '\0';
srd_dbg("%s", s->str);