projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed refcount error.
[collectd.git]
/
src
/
python.c
diff --git
a/src/python.c
b/src/python.c
index
a33bb47
..
d750d95
100644
(file)
--- a/
src/python.c
+++ b/
src/python.c
@@
-302,7
+302,6
@@
static void cpy_log_exception(const char *context) {
line = PyList_GET_ITEM(list, i); /* Borrowed reference. */
s = strdup(PyString_AsString(line));
- Py_DECREF(line);
if (s[strlen(s) - 1] == '\n')
s[strlen(s) - 1] = 0;
Py_BEGIN_ALLOW_THREADS