XChat PATCH: Memory leak in Pyth
public diff v1 · immutable--- temp/xchat-2.8.6/plugins/python/python-old.c 2010-03-16 22:52:52.000000000 -0400+++ temp/xchat-2.8.6/plugins/python/python.c 2010-03-16 21:38:21.000000000 -0400@@ -1767,7 +1767,8 @@ } if (attr == NULL) goto error;- PyObject_SetAttrString(o, (char*)fld, attr);+ PyObject_SetAttrString(o, (char*)fld, attr); /* add reference on attr in o */+ Py_DECREF(attr); /* make o own attr */ } } xchat_list_free(ph, list);